<div dir="ltr"><div>That's cheating. Once error_logger is deprecated I wouldn't expect it's special handling to remain in logger.</div><div><br></div><div dir="ltr">On Fri, May 29, 2020 at 6:04 PM Łukasz Niemier <<a href="mailto:lukasz@niemier.pl">lukasz@niemier.pl</a>> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
But it is compatible. This is how `error_logger:report_info/2` is implemented:<br>
<br>
-spec info_report(Type, Report) -> 'ok' when<br>
      Type :: any(),<br>
      Report :: report().<br>
<br>
info_report(Type, Report) -><br>
    logger:log(notice,<br>
               #{label=>{?MODULE,info_report},<br>
                 report=>Report},<br>
               meta(info_report,Type)).<br>
<br>
So as you can see, the messages from `error_logger` are always passed through `logger` and for backwards compatibility there is output You have mentioned earlier. The important difference is how the message is passed to the `logger`.<br></blockquote><div> </div></div>-- <br><div dir="ltr" class="gmail_signature">     -Vance</div></div>