forked from extern/nushell
Nu internals are logged under nu filter. (#1451)
This commit is contained in:
parent
59cb0ba381
commit
f88674f353
@ -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 New Issue
Block a user