macro_rules! log_with {
($logger:expr, $($arg:tt)+) => { ... };
}Expand description
Log a message with a specific logger using format string syntax (always outputs, no level filtering)
ยงExamples
use nonblocking_logger::{log_with, Logger};
fn main() {
let count = 5;
let logger = Logger::new().stdout();
// Using specific logger
log_with!(logger, "Processing {} items", count);
}