fix: error logs are less hardcoded now
This commit is contained in:
parent
3de79b08f1
commit
2b8d8e8dfd
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ pub fn init_logger(output_file: String) {
|
||||||
WriteLogger::new(
|
WriteLogger::new(
|
||||||
LevelFilter::Info,
|
LevelFilter::Info,
|
||||||
Config::default(),
|
Config::default(),
|
||||||
File::create("my_rust_binary.log").unwrap(),
|
File::create(output_file).unwrap(),
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue