phoenixframework / phoenix_html

Building blocks for working with HTML in Phoenix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why use IO.warn instead of Logger

alexandru-calinoiu opened this issue · comments

This turns out to be a problem when I want to have a custom backend for my logger in a phoenix app. Is there a reason this was done this way?

We typically use IO.warn for deprecation warnings because it has conveniences for including the stacktrace.