[erlang-questions] error_msg and error_report?

Bengt Kleberg bengt.kleberg@REDACTED
Thu Dec 18 09:55:05 CET 2014


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

On 12/18/2014 03:45 AM, Leo Liu wrote:
> I am confused why both is needed? they appear to send similar messages
> to the event manager. I am also confused when to use what? Ideas?
>
> Thanks,
> Leo
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list