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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user