diff options
Diffstat (limited to 'src/Core/RemoteLogger.h')
-rw-r--r-- | src/Core/RemoteLogger.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Core/RemoteLogger.h b/src/Core/RemoteLogger.h index 0507567..8dedb7a 100644 --- a/src/Core/RemoteLogger.h +++ b/src/Core/RemoteLogger.h @@ -20,10 +20,12 @@ #ifndef MAD_CORE_REMOTELOGGER_H_ #define MAD_CORE_REMOTELOGGER_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 RemoteLogger : public LoggerBase { protected: friend class LogManager; - virtual void logMessage(MessageCategory category, MessageLevel level, time_t messageTimestamp, const std::string &message, const std::string &messageSource) = 0; + virtual void logMessage(MessageCategory category, MessageLevel level, boost::posix_time::ptime messageTimestamp, const std::string &message, const std::string &messageSource) = 0; }; } |