Can I force IO.warn to Logger

Unfortunately a popular library like phoenix_html uses IO.warn to log deprecation warnings, this trips up hex packages like Overview — logger_json v5.1.2 that expect the usage of Logger,

Is there a way to pie IO.warn to logger?