Macro relay_log::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!();