Remove "with_line_numbers"

This commit is contained in:
Louis Dureuil 2024-02-08 09:43:21 +01:00
parent 08af0e690c
commit 1b74010e9e
No known key found for this signature in database
4 changed files with 1 additions and 15 deletions

View file

@ -80,18 +80,7 @@ fn main() {
// any number of other subscriber layers may be added before or
// after the `ErrorLayer`...
.with(ErrorLayer::default())
.with(profiling_layer)
/*.with(
tracing_subscriber::fmt::layer()
.with_line_number(true)
.with_span_events(FmtSpan::FULL), /*.with_filter(
tracing_subscriber::filter::LevelFilter::from_level(tracing::Level::TRACE).and(
tracing_subscriber::filter::Targets::new()
.with_target("profile", tracing::Level::TRACE)
.not(),
),
)*/
)*/;
.with(profiling_layer);
// set the subscriber as the default for the application
tracing::subscriber::set_global_default(subscriber).unwrap();