Windows: Not logging frequent WM_PAINTs (#9566)

The logging of WM_PAINT for each frame was not very meaningful, so it
was eliminated.
Other logging levels were also reduced to trace.

Release Notes:

- N/A

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
白山風露
2024-03-21 09:11:33 -07:00
committed by GitHub
co-authored by Mikayla Maki
parent 20b88b6078
commit f88f1bce20
@@ -189,7 +189,6 @@ impl WindowsWindowInner {
}
fn handle_msg(&self, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT {
log::debug!("msg: {msg}, wparam: {}, lparam: {}", wparam.0, lparam.0);
let handled = match msg {
WM_ACTIVATE => self.handle_activate_msg(),
WM_CREATE => self.handle_create_msg(lparam),