View Source logger_formatter_json (logger_formatter_json v0.7.0)
Link to this section Summary
Link to this section Types
-type config() :: #{chars_limit => pos_integer() | unlimited, depth => pos_integer() | unlimited, max_size => pos_integer() | unlimited, names => map() | atom() | [atom() | map()], types => map() | [map()], report_cb => logger:report_cb(), single_line => boolean(), template => template(), time_designator => byte(), time_offset => integer() | [byte()]}.
-type metakey() :: atom() | [atom()].
Link to this section Functions
-spec check_config(Config) -> ok | {error, term()} when Config :: config().
-spec format(LogEvent, Config) -> unicode:chardata() when LogEvent :: logger:log_event(), Config :: config().