icinga2/base/sysloglogger.h

25 lines
375 B
C
Raw Normal View History

2012-07-10 13:31:17 +02:00
#ifndef SYSLOGLOGGER_H
#define SYSLOGLOGGER_H
namespace icinga
{
/**
* A logger that logs to syslog.
*/
class SyslogLogger : public Logger
{
public:
typedef shared_ptr<SyslogLogger> Ptr;
typedef weak_ptr<SyslogLogger> WeakPtr;
2012-07-10 13:32:15 +02:00
SyslogLogger(LogSeverity minSeverity);
2012-07-10 13:31:17 +02:00
protected:
virtual void ProcessLogEntry(const LogEntry& entry);
};
}
#endif /* SYSLOGLOGGER_H */