From 4d5a24298e97f77dc5afead3854cb2a75f829e3d Mon Sep 17 00:00:00 2001 From: CheerfulPianissimo Date: Sun, 25 Aug 2024 21:00:18 +0530 Subject: [PATCH] [fix] change logging level in waymirror-egl to Debug --- libwayshot/examples/waymirror-egl/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libwayshot/examples/waymirror-egl/src/main.rs b/libwayshot/examples/waymirror-egl/src/main.rs index de4800d6..969851a5 100644 --- a/libwayshot/examples/waymirror-egl/src/main.rs +++ b/libwayshot/examples/waymirror-egl/src/main.rs @@ -8,7 +8,7 @@ use state::WaylandEGLState; pub fn main() -> Result<(), Box> { tracing_subscriber::fmt() - .with_max_level(tracing::Level::TRACE) + .with_max_level(tracing::Level::DEBUG) .with_writer(std::io::stderr) .init(); @@ -51,13 +51,12 @@ pub fn main() -> Result<(), Box> { state.init_egl()?; while state.running { event_queue.dispatch_pending(&mut state)?; - // event_queue.blocking_dispatch(&mut state)?; state.draw(); state .egl .swap_buffers(state.egl_display.unwrap(), state.egl_surface.unwrap())?; - //tracing::event!(tracing::Level::DEBUG, "eglSwapBuffers called"); + tracing::trace!("eglSwapBuffers called"); } state.deinit()?;