Skip to content

Commit

Permalink
Use pretty log format
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 7, 2022
1 parent e34e2f4 commit 5a2fdc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use std::{collections::HashMap, sync::mpsc, time::Instant};
use futures::executor::block_on;
use notify::Watcher as _;
use tracing::trace;
use tracing_subscriber::fmt::format;
use tracing_subscriber::EnvFilter;
use winit::{
event::{Event, WindowEvent},
Expand All @@ -37,6 +38,7 @@ use crate::{
fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
.event_format(format().pretty())
.init();

let args = Args::parse();
Expand Down

0 comments on commit 5a2fdc6

Please sign in to comment.