File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ zerocopy.workspace = true
1818
1919fidget.workspace = true
2020workspace-hack.workspace = true
21+ tracing-subscriber = { version = " 0.3.20" , features = [" env-filter" ] }
2122
2223[features ]
2324default = [" jit" ]
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ use eframe::{
55 egui,
66 egui_wgpu:: { self , wgpu} ,
77} ;
8- use env_logger:: Env ;
98use log:: { debug, error, info} ;
109use nalgebra:: Point2 ;
1110use notify:: { Event , EventKind , Watcher } ;
@@ -223,7 +222,8 @@ fn render_3d<F: fidget::eval::Function + fidget::render::RenderHints>(
223222}
224223
225224fn main ( ) -> Result < ( ) , Box < dyn Error > > {
226- env_logger:: Builder :: from_env ( Env :: default ( ) . default_filter_or ( "info" ) )
225+ tracing_subscriber:: fmt ( )
226+ . with_env_filter ( tracing_subscriber:: EnvFilter :: from_default_env ( ) )
227227 . init ( ) ;
228228 let args = Args :: parse ( ) ;
229229
You can’t perform that action at this time.
0 commit comments