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(
|
||||
LevelFilter::Info,
|
||||
Config::default(),
|
||||
File::create("my_rust_binary.log").unwrap(),
|
||||
File::create(output_file).unwrap(),
|
||||
),
|
||||
])
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue