generated from PlexSheep/baserepo
idk why this isn't in master yet #94
|
@ -23,17 +23,7 @@ struct Cli {
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let cli = Cli::parse();
|
let cli = Cli::parse();
|
||||||
let _logger = {
|
let _logger = Logger::builder().set_level(cli.verbosity.level()).build();
|
||||||
let mut this = {
|
|
||||||
let mut this = Logger::builder();
|
|
||||||
let max_level = cli.verbosity.level();
|
|
||||||
this.max_level = max_level;
|
|
||||||
this
|
|
||||||
};
|
|
||||||
this.show_time = false;
|
|
||||||
this
|
|
||||||
}
|
|
||||||
.build();
|
|
||||||
|
|
||||||
debug!("logger initialized with level: {}", cli.verbosity.level());
|
debug!("logger initialized with level: {}", cli.verbosity.level());
|
||||||
|
|
||||||
|
|
Reference in New Issue