Skip to content

Commit f80be9a

Browse files
committed
Saving logs with .log suffix instead of .txt
1 parent beb1735 commit f80be9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ fn main() {
212212
true => {
213213
let time = Local::now();
214214

215-
match File::create(format!("log-{}.txt", time.to_rfc3339())) {
215+
match File::create(format!("log-{}.log", time.to_rfc3339())) {
216216
Ok(f) => Some(f),
217217
Err(_) => None,
218218
}

0 commit comments

Comments
 (0)