SyslogAppender.h
Go to the documentation of this file.00001 #ifndef SYSLOGAPPENDER_H
00002 #define SYSLOGAPPENDER_H
00003
00004 #include <cmw-log/Appender.h>
00005
00006 #include <iostream>
00007 #include <string>
00008
00009 namespace fesaGSI
00010 {
00011
00012 class SyslogAppender : public CMW::Log::Appender
00013 {
00015 friend class SyslogAppenderBuilder;
00016
00017 protected:
00018
00019 SyslogAppender(const std::string& name,
00020 bool synchronous,
00021 const CMW::Log::Appender::Filters& filters);
00022
00023 virtual void doOutput(const CMW::Log::LogMessage & msg);
00024
00025 private:
00026
00027 int facility_;
00028 };
00029
00030 }
00031
00032 #endif // SYSLOGAPPENDER_H