Macro slog_log

Source
macro_rules! slog_log {
    ($($args:tt)*) => { ... };
}
👎Deprecated since 2.8.0: Use fully qualified macro slog::log!(…) instead
Expand description

Log message a logging record (alias)

Before Rust 2018, this alternate name was necessary in case of conflicts with the log crate. Now it is possible to simply use the prefixed path slog::log!.

See log for documentation.

extern crate slog;

fn main() {
    let log = slog::Logger::root(slog::Discard, slog::o!());

    slog::info!(log, "some interesting info"; "where" => "right here");
}