CppLogging  1.0.4.0
C++ Logging Library
Public Member Functions | List of all members
CppLogging::SyslogAppender Class Reference

Syslog appender. More...

#include <syslog_appender.h>

Inheritance diagram for CppLogging::SyslogAppender:
CppLogging::Appender CppLogging::Element

Public Member Functions

 SyslogAppender ()
 
 SyslogAppender (const SyslogAppender &)=delete
 
 SyslogAppender (SyslogAppender &&)=delete
 
virtual ~SyslogAppender ()
 
SyslogAppenderoperator= (const SyslogAppender &)=delete
 
SyslogAppenderoperator= (SyslogAppender &&)=delete
 
void AppendRecord (Record &record) override
 Append the given logging record. More...
 
- Public Member Functions inherited from CppLogging::Appender
virtual void Flush ()
 Flush the logging appender. More...
 
- Public Member Functions inherited from CppLogging::Element
virtual bool IsStarted () const noexcept
 Is the logging element started? More...
 
virtual bool Start ()
 Start the logging element. More...
 
virtual bool Stop ()
 Stop the logging element. More...
 

Detailed Description

Syslog appender.

Syslog appender forward logging record to the syslog() system call for Unix systems. Under Windows systems this appender does nothing!

Thread-safe.

Definition at line 23 of file syslog_appender.h.

Constructor & Destructor Documentation

◆ SyslogAppender() [1/3]

CppLogging::SyslogAppender::SyslogAppender ( )

Definition at line 17 of file syslog_appender.cpp.

◆ SyslogAppender() [2/3]

CppLogging::SyslogAppender::SyslogAppender ( const SyslogAppender )
delete

◆ SyslogAppender() [3/3]

CppLogging::SyslogAppender::SyslogAppender ( SyslogAppender &&  )
delete

◆ ~SyslogAppender()

CppLogging::SyslogAppender::~SyslogAppender ( )
virtual

Definition at line 24 of file syslog_appender.cpp.

Member Function Documentation

◆ AppendRecord()

void CppLogging::SyslogAppender::AppendRecord ( Record record)
overridevirtual

Append the given logging record.

Parameters
record- Logging record

Implements CppLogging::Appender.

Definition at line 31 of file syslog_appender.cpp.

◆ operator=() [1/2]

SyslogAppender& CppLogging::SyslogAppender::operator= ( const SyslogAppender )
delete

◆ operator=() [2/2]

SyslogAppender& CppLogging::SyslogAppender::operator= ( SyslogAppender &&  )
delete

The documentation for this class was generated from the following files: