Macro ralloc::log [] [src]

macro_rules! log {
    (INTERNAL, $( $x:tt )*) => { ... };
    (DEBUG, $( $x:tt )*) => { ... };
    (CALL, $( $x:tt )*) => { ... };
    (NOTE, $( $x:tt )*) => { ... };
    (WARNING, $( $x:tt )*) => { ... };
    (ERROR, $( $x:tt )*) => { ... };
    (@[$kind:expr, $lv:expr], $( $arg:expr ),*) => { ... };
}

Log to the appropriate source.

The first argument defines the log level, the rest of the arguments are just write!-like formatters.