Function bp3d_logger::raw_log

source ·
pub fn raw_log(msg: &LogMsg)
Expand description

Low-level log function. This injects log messages directly into the logging thread channel.

This function applies basic formatting depending on the backend:

  • For stdout/stderr backend the format is <target> [level] msg
  • For file backend the format is [level] msg and the message is recorded in the file corresponding to the log target.