diff options
Diffstat (limited to 'src/Daemon')
-rw-r--r-- | src/Daemon/Backends/NetworkLogger.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Daemon/Backends/NetworkLogger.h b/src/Daemon/Backends/NetworkLogger.h index a6b6c21..1c5749d 100644 --- a/src/Daemon/Backends/NetworkLogger.h +++ b/src/Daemon/Backends/NetworkLogger.h @@ -32,11 +32,9 @@ class NetworkLogger : public Common::Logger { private: Common::Connection *connection; - void requestFinished(const Common::Request&) {} - protected: virtual void logMessage(Common::Logger::MessageCategory category, Common::Logger::MessageLevel level, time_t messageTimestamp, const std::string &message) { - Common::RequestManager::get()->sendRequest<Requests::LogRequest>(connection, boost::bind(&NetworkLogger::requestFinished, this, _1), + Common::RequestManager::get()->sendRequest4<Requests::LogRequest>(connection, category, level, messageTimestamp, message); } |