summaryrefslogtreecommitdiff
path: root/priv/templates/otplib.template
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2019-08-28 07:40:56 +0300
committerDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2019-08-28 07:40:56 +0300
commit0392742ceb52f5b8eefdd8138387b2c8f2e9fd48 (patch)
tree100fbe31bee9bfc8fab00f518a0d59ecd0cb5270 /priv/templates/otplib.template
parent542b93a8526873dd3bbc0440aad3e7d3093ac4d8 (diff)
Disable the default logger handler in shell if required
To avoid a conflict the Kernel's default handler have to be disabled before the new default handler is added {kernel, [{logger, [{handler, default, undefined} ]} ]}, {my_app, [{logger, [{handler, default, my_handler, #{}} ]} ]} To support this behavior in shell it's necessary to process the handler-default-undefined tuple. It's not clear what to do with the simple handler (logger_simple_h) however. It's added at the start and removed if a default handler was added. Should it be added in reread_logger_config/1 if there's no default handler?
Diffstat (limited to 'priv/templates/otplib.template')
0 files changed, 0 insertions, 0 deletions