try_warn

Macro 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.