Clippy pedantic fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use log::LevelFilter;
|
||||
|
||||
|
||||
pub fn init_logger(debug: bool) {
|
||||
pub fn init(debug: bool) {
|
||||
let level = if debug {
|
||||
LevelFilter::Debug
|
||||
} else {
|
||||
@@ -11,4 +11,4 @@ pub fn init_logger(debug: bool) {
|
||||
.format_timestamp(None)
|
||||
.filter_level(level)
|
||||
.init();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user