eprintln -> log::trace
Avoid unconditionally logging this diagnostic message, so that we don't fill up wherever stderr is logging to. refs: #3564
This commit is contained in:
1 file changed
+2
-2
@@ -408,7 +408,7 @@ impl XWindowInner {
|
||||
})
|
||||
}
|
||||
_ => {
|
||||
eprintln!("button {} is not implemented", detail);
|
||||
log::trace!("button {} is not implemented", detail);
|
||||
return Ok(());
|
||||
}
|
||||
};
|
||||
@@ -599,7 +599,7 @@ impl XWindowInner {
|
||||
self.events.dispatch(WindowEvent::MouseLeave);
|
||||
}
|
||||
_ => {
|
||||
eprintln!("unhandled: {:?}", event);
|
||||
log::warn!("unhandled: {:?}", event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user