Macro slog_try::try_warn[][src]

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

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