logger
handler that sends logs to journald.
Behaviours: gen_server.
Authors: Sergey Prokhorov (me@seriyps.ru).
OTP logger
handler that sends logs to journald
This handler does not provide any overload protection (yet). OTP's built-in logger_olp
is not
documented (and not really reusable), so we can't use it here.
opts() = #{socket_path => file:filename_all(), defaults => #{journald_sock:key() => journald_sock:value()}}
adding_handler/1 | |
changing_config/3 | |
filter_config/1 | |
log/2 | |
removing_handler/1 | |
start_link/2 |
adding_handler(Config) -> any()
changing_config(SetOrUpdate, OldConfig, NewConfig) -> any()
filter_config(Config) -> any()
log(LogEvent, X2) -> any()
removing_handler(X1) -> any()
start_link(Id, Opts) -> any()
Generated by EDoc