fix: update the default logging level of external crates to warn
This commit is contained in:
parent
641292fe5d
commit
1a199396c0
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ pub fn init_logger() {
|
|||
.target()
|
||||
.starts_with(env!("CARGO_PKG_NAME").replace('-', "_").as_str())
|
||||
&& metadata.level() <= &level)
|
||||
|| metadata.level() <= &tracing::Level::ERROR.min(level)
|
||||
|| metadata.level() <= &tracing::Level::WARN.min(level)
|
||||
}));
|
||||
tracing_subscriber::registry().with(stdio_layer).init();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue