• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A CLI tool for downloading from pixiv.net


Commit MetaInfo

修订版2b38e19dabccc31cfe0bb2effda6c87aa27980af (tree)
时间2023-06-23 19:22:31
作者mio <stigma@disr...>
Commitermio

Log Message

Create a new log file each run

更改概述

差异

--- a/source/logger.d
+++ b/source/logger.d
@@ -29,7 +29,7 @@ class Logger : std.experimental.logger.Logger
2929 super(lv);
3030
3131 this.filename = fname;
32- this.file.open(this.filename, "a");
32+ this.file.open(this.filename, "w");
3333 }
3434
3535 @safe this(File file, LogLevel lv = LogLevel.all)