Macro slog::record[][src]

macro_rules! record {
    ($lvl:expr, $tag:expr, $args:expr, $b:expr,) => { ... };
    ($lvl:expr, $tag:expr, $args:expr, $b:expr) => { ... };
}

Create Record at the given code location

Note that this requires that lvl and tag are compile-time constants. If you need them to not be compile-time, such as when recreating a Record from a serialized version, use Record::new instead.