Nu internals are logged under nu filter. (#1451)

This commit is contained in:
Andrés N. Robalino 2020-03-05 05:18:53 -05:00 committed by GitHub
parent 59cb0ba381
commit f88674f353
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ fn main() -> Result<(), Box<dyn Error>> {
None => {} None => {}
Some(values) => { Some(values) => {
for item in values { for item in values {
builder.filter_module(&format!("nu_cli::{}", item), LevelFilter::Trace); builder.filter_module(&format!("nu::{}", item), LevelFilter::Trace);
} }
} }
} }
@ -79,7 +79,7 @@ fn main() -> Result<(), Box<dyn Error>> {
None => {} None => {}
Some(values) => { Some(values) => {
for item in values { for item in values {
builder.filter_module(&format!("nu_cli::{}", item), LevelFilter::Debug); builder.filter_module(&format!("nu::{}", item), LevelFilter::Debug);
} }
} }
} }