z_logger_h (zotonic_core v1.0.0-rc.12)
Link to this section Summary
Link to this section Functions
Link to this function
adding_handler(Config)
-spec adding_handler(Config) -> {ok, Config} | {error, Reason} when Config :: logger:handler_config(), Reason :: term().
Link to this function
changing_config(SetOrUpdate, OldConfig, NewConfig)
-spec changing_config(SetOrUpdate, OldConfig, NewConfig) -> {ok, Config} | {error, Reason} when SetOrUpdate :: set | update, OldConfig :: logger:handler_config(), NewConfig :: logger:handler_config(), Config :: logger:handler_config(), Reason :: term().
Link to this function
check_config(Name, SetOrUpdate, OldHConfig, NewHConfig)
Link to this function
config_changed(Name, NewHConfig, State)
Link to this function
filesync(Name)
-spec filesync(Name) -> ok | {error, Reason}
when Name :: atom(), Reason :: handler_busy | {badarg, term()}.
Link to this function
filesync(Name, SyncAsync, State)
Link to this function
filter_config(Config)
-spec filter_config(Config) -> Config when Config :: logger:handler_config().
Link to this function
handle_info(Name, _, State)
Link to this function
init(Name, Config)
Link to this function
log(LogEvent, Config)
-spec log(LogEvent, Config) -> ok when LogEvent :: logger:log_event(), Config :: logger:handler_config().
Link to this function
removing_handler(Config)
-spec removing_handler(Config) -> ok when Config :: logger:handler_config().
Link to this function
reset_state(Name, State)
Link to this function
terminate(Name, Reason, _)
Link to this function