Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
use tracing::subscriber;
|
||||
|
||||
pub fn init() -> anyhow::Result<()> {
|
||||
// Configure the global tracing subscriber to not care about any spans or
|
||||
// events.
|
||||
//
|
||||
// This is done so that we prevent the `tracing` crate from writing out log
|
||||
// lines for spans and trace events.
|
||||
subscriber::set_global_default(subscriber::NoSubscriber::new())?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user