relay_log

Macro init_test

source
macro_rules! init_test {
    () => { ... };
}
Expand description

Initialize the logger for testing.

This logs to the stdout registered by the Rust test runner, and only captures logs from the calling crate.

ยงExample

relay_log::init_test!();