glimt/erlang_logger/logger

Functions

pub fn logger_dispatch(log_message: LogMessage(a, b, Dynamic)) -> Nil

Dispatcher that send the LogMessage to the erlang built-in logger Logs the message as a string

pub fn logger_report_dispatch(log_message: LogMessage(
    List(#(String, String)),
    List(#(String, String)),
    Dynamic,
  )) -> Nil

Dispatcher that send the LogMessage to the erlang built-in logger Logs the message as msg field in a report Merges data and context into the report

Search Document