View Source eturnal_logger (eturnal v1.12.1)
Summary
Types
-type level() :: critical | error | warning | notice | info | debug.
-type logger_config() :: #{file => file:filename(), file_check => non_neg_integer(), max_no_bytes => pos_integer() | infinity, max_no_files => non_neg_integer(), flush_qlen => pos_integer(), sync_mode_qlen => non_neg_integer(), drop_mode_qlen => pos_integer()}.
Functions
-spec flush() -> ok.
-spec get_level() -> logger:level() | all | none.
-spec progress_filter(logger:log_event(), any()) -> logger:filter_return().
-spec reconfigure() -> ok.
-spec set_level(level()) -> ok.
-spec start() -> ok.
-spec stop() -> ok.