chore: Tweak log levels a little
Use `Debug` level for all modules except `ncspot`, which shows `Trace` level logs by default.
This commit is contained in:
@@ -41,9 +41,9 @@ pub fn setup_logging(filename: &Path) -> Result<(), fern::InitError> {
|
|||||||
))
|
))
|
||||||
})
|
})
|
||||||
// Add blanket level filter -
|
// Add blanket level filter -
|
||||||
.level(log::LevelFilter::Trace)
|
.level(log::LevelFilter::Debug)
|
||||||
// Set runtime log level for modules
|
// Set runtime log level for modules
|
||||||
.level_for("librespot", log::LevelFilter::Debug)
|
.level_for("ncspot", log::LevelFilter::Trace)
|
||||||
// Output to stdout, files, and other Dispatch configurations
|
// Output to stdout, files, and other Dispatch configurations
|
||||||
.chain(fern::log_file(filename)?)
|
.chain(fern::log_file(filename)?)
|
||||||
// Apply globally
|
// Apply globally
|
||||||
|
|||||||
Reference in New Issue
Block a user