Macro slog_try::try_warn

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

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