Macro slog_try::try_crit

source ·
macro_rules! try_crit {
    ($l:expr, #$tag:expr, $($args:tt)+) => { ... };
    ($l:expr, $($args:tt)+) => { ... };
}
Expand description

Log a crit level message if the given logger is Some,, otherwise do nothing.