Macro debug_and_log_warn
Source macro_rules! debug_and_log_warn {
($category:expr, $($arg:tt)*) => { ... };
}
Expand description
Emit a message to both the custom debug log (at Error level) and the
standard log crate at log::warn! level.
§Example
ⓘdebug_and_log!(WARN, "TMUX", "Failed to attach session '{}': {}", name, e);