Crates.io | tracing-chrometrace |
lib.rs | tracing-chrometrace |
version | 0.1.19 |
source | src |
created_at | 2021-10-25 10:40:25.617766 |
updated_at | 2023-02-01 08:05:41.338098 |
description | A Layer for tracing-subscriber that outputs Chrome-style traces. |
homepage | |
repository | https://github.com/ileixe/tracing-chrometrace |
max_upload_size | |
id | 470905 |
size | 27,046 |
A tracing Layer that for logs formatted representations of tracing
events viewed by the Chrome Trace Viewer at chrome://tracing
.
use tracing_chrometrace::ChromeLayer;
use tracing_subscriber::{Registry, prelude::*};
tracing_subscriber::registry().with(ChromeLayer::default()).init();