basic_log_fmt

Function basic_log_fmt 

Source
pub fn basic_log_fmt(
    level: LogLevel,
    log_text: &str,
    line_len: usize,
    items: MutexGuard<'_, Vec<LogItem>>,
)
Expand description

A basic log formatter that splits long lines and counts repeated lines.

  • level - The log level.
  • log_text - The log text.
  • line_len - The maximum length of a line.