summaryrefslogtreecommitdiff
path: root/lib/common/Logging.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-03-29 14:08:12 +0000
committerChris Wilson <chris+github@qwirx.com>2009-03-29 14:08:12 +0000
commit077b00d6c5c967e1403a39fa5bd8843c039199eb (patch)
tree95942e8aaec11650451e00a2ee31582bd5ca32b4 /lib/common/Logging.cpp
parentef3d1642c083a9c69eb48c6ab8ecc9be43dfbcfc (diff)
Add date to file logger, as requested by Kenny Millington.
Diffstat (limited to 'lib/common/Logging.cpp')
-rw-r--r--lib/common/Logging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp
index 9248bd35..1f872d93 100644
--- a/lib/common/Logging.cpp
+++ b/lib/common/Logging.cpp
@@ -288,7 +288,7 @@ bool Console::Log(Log::Level level, const std::string& rFile,
if (sShowTime)
{
- buf << FormatTime(GetCurrentBoxTime(), sShowTimeMicros);
+ buf << FormatTime(GetCurrentBoxTime(), false, sShowTimeMicros);
buf << " ";
}
@@ -449,7 +449,7 @@ bool FileLogger::Log(Log::Level Level, const std::string& rFile,
Logging::Remove(this);
std::ostringstream buf;
- buf << FormatTime(GetCurrentBoxTime(), false);
+ buf << FormatTime(GetCurrentBoxTime(), true, false);
buf << " ";
if (Level <= Log::FATAL)