We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 758c801 commit 02f00b3Copy full SHA for 02f00b3
crates/examples/bench/src/lib.rs
@@ -2,6 +2,10 @@ use std::{process::Command, sync::mpsc, thread};
2
use tracing::{subscriber, Level};
3
use tracing_subscriber::FmtSubscriber;
4
5
+/// Initialize the global logger.
6
+///
7
+/// # Panics
8
+/// If setting the default subscriber fails.
9
pub fn init_log() {
10
subscriber::set_global_default(
11
FmtSubscriber::builder()
0 commit comments