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()}.
-type metakey() :: atom() | [atom()].
-type template() :: [metakey() | {metakey(), template(), template()} | string()].

Functions

-spec flush() -> ok.
-spec get_level() -> logger:level() | all | none.
-spec is_valid_level(atom()) -> boolean().
Link to this function

progress_filter(Event, Extra)

View Source
-spec progress_filter(logger:log_event(), any()) -> logger:filter_return().
-spec reconfigure() -> ok.
-spec set_level(level()) -> ok.
-spec start() -> ok.
-spec stop() -> ok.