Explorar el Código

Log winit events at trace level

Johannes Hofmann hace 7 años
padre
commit
d9d2dd7e3c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/main.rs

+ 1
- 0
src/main.rs Ver fichero

@@ -90,6 +90,7 @@ fn handle_event(
90 90
     sources: &mut TileSources,
91 91
     marker_rx: &mpsc::Receiver<Vec<LatLonDeg>>,
92 92
 ) -> Action {
93
+    trace!("{:?}", event);
93 94
     match *event {
94 95
         Event::Awakened => {
95 96
             for pos in marker_rx.try_iter().flat_map(|c| c.into_iter()) {