1
0
Fork 0

Include seconds in log timestamps on Windows

This commit is contained in:
Niels Martin Hansen 2015-01-13 21:39:49 +01:00
parent a93c51c9ba
commit e9f0999c01
1 changed files with 2 additions and 1 deletions

View File

@ -70,8 +70,9 @@ public:
sm.line,
sm.message);
#else
auto log = fmt_wx("%c %-6ld <%-25s> [%s:%s:%d] %s\n",
auto log = fmt_wx("%c %-6ld.%09ld <%-25s> [%s:%s:%d] %s\n",
agi::log::Severity_ID[sm.severity],
(sm.time / 1000000000),
(sm.time % 1000000000),
sm.section,
sm.file,