Macro servoshell::desktop::tracing::trace_winit_event

source ·
macro_rules! trace_winit_event {
    ($event:expr, $($rest:tt)+) => { ... };
}
Expand description

Log an event from winit (winit::event::Event) at trace level.

  • To disable tracing: RUST_LOG=‘servoshell<winit@=off’
  • To enable tracing: RUST_LOG=‘servoshell<winit@’
  • Recommended filters when tracing is enabled:
    • servoshell<winit@DeviceEvent=off
    • servoshell<winit@MainEventsCleared=off
    • servoshell<winit@NewEvents(WaitCancelled)=off
    • servoshell<winit@RedrawEventsCleared=off
    • servoshell<winit@RedrawRequested=off
    • servoshell<winit@UserEvent(WakerEvent)=off
    • servoshell<winit@WindowEvent(AxisMotion)=off
    • servoshell<winit@WindowEvent(CursorMoved)=off