#ifndef __SYSLOG_LOGSINK_H #define __SYSLOG_LOGSINK_H #include "LogSink.hpp" #include class SyslogLogSink : public LogSink { public: SyslogLogSink( const LogLevel level, const std::string &ident, const std::string &facility ); ~SyslogLogSink( ); DLL_VISIBLE virtual void log( const LogLevel level, const std::string &msg ); static int levelToSyslogLevel( const LogLevel level ); static int facilityFromString( const std::string &facility ); private: std::string m_ident; std::string m_facility; }; #endif