[erlang-questions] Lager backend: error_logger?
Fri Oct 9 07:49:41 CEST 2015
On Thursday, October 8, 2015 10:10 AM, Roberto Ostinelli <> wrote:
> Is it possible to use error_logger inside a lager backend?> > I imagine this would create recursive calls, but I'm basically wondering how to output a > log from a lager backend, if that makes any sense.
I'm sorry I don't understand what you mean - what is it you're trying to do?
Lager already intercepts calls to error_logger and redirects them into its own event handler(s) for log messages. So if you use error_logger:info_msg in your source code, then lager will already capture that and process it.
If you want to take this conversation offline that would be fine too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions