fix: error logs are less hardcoded now

This commit is contained in:
Nickiel12 2023-01-06 22:24:49 -08:00
parent 3de79b08f1
commit 2b8d8e8dfd

View file

@ -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();