diff --git a/mnn-sync/src/lib.rs b/mnn-sync/src/lib.rs index 6ea8747..c9690ef 100644 --- a/mnn-sync/src/lib.rs +++ b/mnn-sync/src/lib.rs @@ -77,12 +77,18 @@ impl SessionHandle { let (tx, rx) = flume::unbounded(); let handle = builder .spawn(move || -> Result<()> { + #[cfg(feature = "tracing")] + tracing::info!("Starting mnn session thread"); let mut session = interpreter.create_session(config)?; + #[cfg(feature = "tracing")] + tracing::info!("Updating mnn cache file"); interpreter.update_cache_file(&mut session); let mut session_runner = SessionRunner { interpreter, session, }; + #[cfg(feature = "tracing")] + tracing::info!("Starting mnn session loop"); loop { let f = receiver .recv()