浏览代码

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