Module logger_journald_h

OTP logger handler that sends logs to journald.

Behaviours: gen_server.

Authors: Sergey Prokhorov (me@seriyps.ru).

Description

OTP logger handler that sends logs to journald

This handler does not provide any overload protection (yet). OTP's logger_olp is not documented (and not really reusable), so we can't use it here.

Function Index

adding_handler/1
changing_config/3
code_change/3
filter_config/1
handle_call/3
handle_cast/2
handle_info/2
init/1
log/2
removing_handler/1
start_link/2
terminate/2

Function Details

adding_handler/1

adding_handler(Config) -> any()

changing_config/3

changing_config(SetOrUpdate, OldConfig, NewConfig) -> any()

code_change/3

code_change(OldVsn, State, Extra) -> any()

filter_config/1

filter_config(Config) -> any()

handle_call/3

handle_call(X1, From, State) -> any()

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

log/2

log(LogEvent, X2) -> any()

removing_handler/1

removing_handler(X1) -> any()

start_link/2

start_link(Id, Opts) -> any()

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc