Skip to content

Commit b52d243

Browse files
authored
feat: span list in json (#100)
1 parent d8e9c92 commit b52d243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/tracing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const TRACING_LOG_JSON: &str = "TRACING_LOG_JSON";
1111
///
1212
macro_rules! install_fmt {
1313
(json @ $registry:ident, $filter:ident) => {{
14-
let fmt = tracing_subscriber::fmt::layer().json().with_filter($filter);
14+
let fmt = tracing_subscriber::fmt::layer().json().with_span_list(true).with_filter($filter);
1515
$registry.with(fmt).init();
1616
}};
1717
(log @ $registry:ident, $filter:ident) => {{

0 commit comments

Comments
 (0)