glimt/erlang_logger/basic_formatter
Functions
pub fn format(log_event: Dynamic, config: Dynamic) -> String
This is the callback that will be used by erlang logger to format log events. It is not intended to use directly.
pub fn use_with_handler(handler_id: String) -> Nil
Set basic_formatter
for erlang logger handler
with handler_id
Example:
use_with_handler("default")
Set basic Glimt formatting for the default handler (logger_std_h)