utils::logging: implement tracing_chrome & tracing_flame support

This commit is contained in:
Christian Schwarz
2023-12-06 17:48:50 +00:00
committed by Debian
parent be94c3acd9
commit 6910eaea78
15 changed files with 143 additions and 20 deletions

View File

@@ -175,7 +175,7 @@ fn main() -> anyhow::Result<()> {
async fn async_main() -> anyhow::Result<()> {
let launch_ts = Box::leak(Box::new(LaunchTimestamp::generate()));
logging::init(
let _guard = logging::init(
LogFormat::Plain,
logging::TracingErrorLayerEnablement::Disabled,
logging::Output::Stdout,