summaryrefslogtreecommitdiffstats
path: root/src/Core/Logger.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-18 15:58:17 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-18 15:58:17 +0200
commitdb5ad2e09a6b38e841463dbe7eb076492b62c948 (patch)
tree5907f6416e35cbd25432a5f1f6dc9664d36aa73c /src/Core/Logger.h
parent5da7b0847bac2a5abec95b9ac1701b74baae8964 (diff)
downloadmad-db5ad2e09a6b38e841463dbe7eb076492b62c948.tar
mad-db5ad2e09a6b38e841463dbe7eb076492b62c948.zip
Mad funktioniert jetzt unter Windows
Diffstat (limited to 'src/Core/Logger.h')
-rw-r--r--src/Core/Logger.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Core/Logger.h b/src/Core/Logger.h
index b5a6b43..53ec665 100644
--- a/src/Core/Logger.h
+++ b/src/Core/Logger.h
@@ -20,10 +20,12 @@
#ifndef MAD_CORE_LOGGER_H_
#define MAD_CORE_LOGGER_H_
+#include "export.h"
+
#include "LoggerBase.h"
-#include <ctime>
#include <string>
+#include <boost/date_time/posix_time/ptime.hpp>
namespace Mad {
namespace Core {
@@ -34,7 +36,7 @@ class Logger : public LoggerBase {
protected:
friend class LogManager;
- virtual void logMessage(MessageCategory category, MessageLevel level, time_t timestamp, const std::string &message) = 0;
+ virtual void logMessage(MessageCategory category, MessageLevel level, boost::posix_time::ptime timestamp, const std::string &message) = 0;
};