That is why I am not much of a fan of Elixir’s default of Logger level set to :debug. Erlang which sets it by default to :notice is IMHO better one, as it (by default) filter more messages that are irrelevant to the user. It has slight disadvantage in development, but IMHO we should make defaults safe for production, not for development.
Anyway, I digress a little.
Actually it is the exact opposite. The reason for that is that when you use report_cb/2 then it is your requirement to ensure, that for example line length is preserved. If you use report_cb/1 it is left to the formatter to keep all that requirements.






















