Skip to content

Commit

Permalink
Fix the compatibility path for SysTime.fracSec.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Oct 8, 2015
1 parent 8f55775 commit 3bd96e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/core/log.d
Expand Up @@ -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,
Expand Down

0 comments on commit 3bd96e3

Please sign in to comment.