[erlang-questions] Erlang/OTP 21.0-rc1 (Release Candidate)
Thu May 3 12:48:03 CEST 2018
In Kernel User's Guide new logger API chapter
"2.6 Example: implement a handler"
callback function 'removing_handler' is documented to accept single
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 ?
More information about the erlang-questions