Migrating to Logger

Vance Shipley vances@REDACTED
Wed May 27 10:51:59 CEST 2020


Is there a built in method to port this simple behaviour to the new logger?

1> error_logger:info_report(["Something happened", {state, active}]).
ok
=INFO REPORT==== 27-May-2020::16:47:11.797398 ===
    "Something happened"
    state: active

-- 
     -Vance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200527/a10f0a5f/attachment.htm>


More information about the erlang-questions mailing list