Macro fuchsia_syslog::fx_log[][src]

macro_rules! fx_log {
    (tag: $tag:expr, $lvl:expr, $($arg:tt)+) => { ... };
    ($lvl:expr, $($arg:tt)+) => { ... };
}
Expand description

Convenience macro for logging.

Example:

fx_log!(tag: "my_tag", levels::WARN, "print integer {}", 10);
fx_log!(levels::WARN, "print integer {}", 10);