diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 7e2650c6..3e285536 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,9 +16,12 @@ pub struct CalloopData { fn main() -> Result<(), Box<dyn std::error::Error>> { if let Ok(env_filter) = tracing_subscriber::EnvFilter::try_from_default_env() { - tracing_subscriber::fmt().with_env_filter(env_filter).init(); + tracing_subscriber::fmt() + .compact() + .with_env_filter(env_filter) + .init(); } else { - tracing_subscriber::fmt().init(); + tracing_subscriber::fmt().compact().init(); } let mut event_loop: EventLoop<CalloopData> = EventLoop::try_new()?; |
