mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Nu internals are logged under nu filter. (#1451)
This commit is contained in:
parent
59cb0ba381
commit
f88674f353
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue