A CLI tool for downloading from pixiv.net
Revisión | 2b38e19dabccc31cfe0bb2effda6c87aa27980af (tree) |
---|---|
Tiempo | 2023-06-23 19:22:31 |
Autor | mio <stigma@disr...> |
Commiter | mio |
Create a new log file each run
@@ -29,7 +29,7 @@ class Logger : std.experimental.logger.Logger | ||
29 | 29 | super(lv); |
30 | 30 | |
31 | 31 | this.filename = fname; |
32 | - this.file.open(this.filename, "a"); | |
32 | + this.file.open(this.filename, "w"); | |
33 | 33 | } |
34 | 34 | |
35 | 35 | @safe this(File file, LogLevel lv = LogLevel.all) |