diff --git a/source/vibe/core/log.d b/source/vibe/core/log.d index 4de7dda81c..e68cf416be 100644 --- a/source/vibe/core/log.d +++ b/source/vibe/core/log.d @@ -291,7 +291,7 @@ final class FileLogger : Logger { case Format.threadTime: auto tm = msg.time; static if (is(typeof(tm.fracSecs))) auto msecs = tm.fracSecs.total!"msecs"; // 2.069 has deprecated "fracSec" - else tm.fracSec.msecs; + else auto msecs = tm.fracSec.msecs; m_curFile.writef("[%08X:%08X %d.%02d.%02d %02d:%02d:%02d.%03d %s] ", msg.threadID, msg.fiberID, tm.year, tm.month, tm.day, tm.hour, tm.minute, tm.second, msecs,