[erlang-questions] error_msg and error_report?
Leo Liu
sdl.web@REDACTED
Thu Dec 18 11:41:56 CET 2014
On 2014-12-18 16:55 +0800, Bengt Kleberg wrote:
> Please see the documentation
> (http://www.erlang.org/doc/man/error_logger.html):
>
> "If called with bad arguments, [error_msg] can crash the standard
> event handler, meaning no further events are logged. When in doubt,
> use error_report/1 instead."
>
>
> bengt
Thanks for the pointer. Also from discussion on #erlang, the _msg
function of the pair let users control the format while the _report one
doesn't.
Leo
More information about the erlang-questions
mailing list