mirror of
https://github.com/denoland/deno.git
synced 2025-01-23 07:29:51 -05:00
Fix rust logger.
This commit is contained in:
parent
69f73ee368
commit
070c5f85da
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ struct Logger;
|
|||
|
||||
impl log::Log for Logger {
|
||||
fn enabled(&self, metadata: &log::Metadata) -> bool {
|
||||
metadata.level() <= log::Level::Info
|
||||
metadata.level() <= log::max_level()
|
||||
}
|
||||
|
||||
fn log(&self, record: &log::Record) {
|
||||
|
|
Loading…
Add table
Reference in a new issue