macro_rules! log_critical {
    ($logger:expr, $($msg:tt)*) => { ... };
}
Expand description

Description

Logs a critical log message in the log file.

Parameters

A reference to TheLogger’s instance and the log message itself

Example

use the_logger::{log_critical, TheLogger};

async fn exec_log() {
  let logger = TheLogger::instance();
  log_critical!(logger, "This is a critical log message");
}