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-22 01:11:33 +09:00 committed by GitHub
parent 20b88b6078
commit f88f1bce20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),