[erlang-questions] Fwd: Erlang/OTP 21.0-rc1 (Release Candidate)

Siri Hansen erlangsiri@REDACTED
Fri May 4 16:45:40 CEST 2018


Sorry - forgot to copy list...

---------- Forwarded message ----------
From: Siri Hansen <erlangsiri@REDACTED>
Date: 2018-05-04 16:44 GMT+02:00
Subject: Re: [erlang-questions] Erlang/OTP 21.0-rc1 (Release Candidate)
To: Svilen Ivanov <isvilen@REDACTED>


Hi, thanks for reporting - it should be removing_handler/2 - I will correct
it asap.
Regards
/siri

2018-05-03 12:48 GMT+02:00 Svilen Ivanov <isvilen@REDACTED>:

> In Kernel User's Guide new logger API chapter
> "2.6 Example: implement a handler"
> callback function 'removing_handler' is documented to accept single
> parameter logger:handler_id(),
> but in the example for handler that prints to file it takes two
> parameters (Id and Config).
>
> The current implementation seems to call this function with single
> parameter HandlerId, but that makes not possible to cleanly close the
> file descriptor as shown in the example.
>
> So, removing_handler/1 or removing_handler/2 ?
>
> BR, Svilen
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180504/ef04377f/attachment.htm>


More information about the erlang-questions mailing list