[erlang-questions] How to differentiate info_msg and error_msg

Andy W. Song wsongcn@REDACTED
Tue Jul 26 08:13:12 CEST 2011


Hi,

I can print messages to error log using error_logger:info_msg
and error_logger:error_msg. But I can't find a way to enable only error_msg
while mask info_msg, just like log level in a lot of Linux software.

Any idea?

Thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110726/b4d409c7/attachment.htm>


More information about the erlang-questions mailing list