[erlang-questions] Prevent my crashing gen_server to produce any error message

Led ledest@REDACTED
Tue Sep 11 18:27:46 CEST 2018


> Can you please explain us the PID idea inside the metadata as I’m not
> familiar with the new logger module?
>
> Thanks
> /Frank
>

Maybe this:

logger:add_primary_filter(my_filter_id,{fun(#{meta:=#{label:={proc_lib,crash}}})
-> stop; (_,_) -> ignore end,ok}).

?

---
Led
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180911/89f5337e/attachment.htm>


More information about the erlang-questions mailing list