1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

eframe web: map log::debug to console.debug; not console.trace

This commit is contained in:
Emil Ernerfeldt
2024-07-01 16:25:48 +02:00
parent f3a0ac1d1b
commit 7b61e426d7

View File

@@ -50,7 +50,9 @@ impl log::Log for WebLogger {
};
match record.level() {
log::Level::Trace => console::trace(&msg),
// NOTE: the `console::trace` includes a stack trace, which is super-noisy.
log::Level::Trace => console::debug(&msg),
log::Level::Debug => console::debug(&msg),
log::Level::Info => console::info(&msg),
log::Level::Warn => console::warn(&msg),