Macro systemd::log_with[][src]

macro_rules! log_with {
    ($func : expr, $lvl : expr, $($arg : tt), +) => { ... };
    (@ raw $func : expr, $lvl : expr, $($arg : tt), +) => { ... };
    (@ target $tgt : expr, $func : expr, $lvl : expr, $($arg : tt), +) => { ... };
}
Expand description

Similar to log!(), except it accepts a func argument rather than hard coding ::log::log(), and it doesn’t filter on log_enabled!().