diff options
Diffstat (limited to 'src/Daemon/Requests')
-rw-r--r-- | src/Daemon/Requests/LogRequest.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Daemon/Requests/LogRequest.h b/src/Daemon/Requests/LogRequest.h index 6ee3b3d..a3cda41 100644 --- a/src/Daemon/Requests/LogRequest.h +++ b/src/Daemon/Requests/LogRequest.h @@ -21,7 +21,6 @@ #define MAD_DAEMON_REQUESTS_LOGREQUEST_H_ #include <Common/Request.h> -#include <Core/Logger.h> #include <ctime> namespace Mad { @@ -30,8 +29,8 @@ namespace Requests { class LogRequest : public Common::Request { private: - Core::Logger::MessageCategory category; - Core::Logger::MessageLevel level; + Core::LoggerBase::MessageCategory category; + Core::LoggerBase::MessageLevel level; time_t messageTimestamp; std::string message; @@ -39,8 +38,8 @@ class LogRequest : public Common::Request { virtual void sendRequest(); public: - LogRequest(Core::Logger::MessageCategory category0, Core::Logger::MessageLevel level0, time_t messageTimestamp0, const std::string &message0) - : category(category0), level(level0), messageTimestamp(messageTimestamp0), message(message0) {} + LogRequest(Common::Application *application, Core::LoggerBase::MessageCategory category0, Core::LoggerBase::MessageLevel level0, time_t messageTimestamp0, const std::string &message0) + : Common::Request(application), category(category0), level(level0), messageTimestamp(messageTimestamp0), message(message0) {} }; } |