From 2b8d8e8dfd5e5b2471515257a639915890e5da4c Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Fri, 6 Jan 2023 22:24:49 -0800 Subject: [PATCH] fix: error logs are less hardcoded now --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0937daf..402f629 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();