Macro ralloc::bk_log [] [src]

macro_rules! bk_log {
    ($pool:expr, $( $arg:expr ),*) => { ... };
    ($bk:expr;$cur:expr, $( $arg:expr ),*) => { ... };
}

Log with bookkeeper data to the appropriate source.

The first argument this takes is of the form pool;cursor, which is used to print the block pools state. cursor is what the operation "revolves around" to give a sense of position.

If the ;cursor part is left out, no cursor will be printed.

The rest of the arguments are just normal formatters.

This logs to level 2.