소스 검색

Log winit events at trace level

Johannes Hofmann 7 년 전
부모
커밋
d9d2dd7e3c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/main.rs

+ 1
- 0
src/main.rs 파일 보기

@@ -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()) {