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

Logging appender interface. More...

#include <appender.h>

Inheritance diagram for CppLogging::Appender:
CppLogging::Element CppLogging::ConsoleAppender CppLogging::DebugAppender CppLogging::ErrorAppender CppLogging::FileAppender CppLogging::MemoryAppender CppLogging::NullAppender CppLogging::OstreamAppender CppLogging::RollingFileAppender CppLogging::SyslogAppender

Public Member Functions

virtual void AppendRecord (Record &record)=0
 Append the given logging record. More...
 
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

Logging appender interface.

Logging appender takes an instance of a single logging record and store it content in some storage or show it in console.

See also
NullAppender
ConsoleAppender
DebugAppender
ErrorAppender
MemoryAppender
OstreamAppender
FileAppender
RollingFileAppender
SysLogAppender

Definition at line 32 of file appender.h.

Member Function Documentation

◆ AppendRecord()

virtual void CppLogging::Appender::AppendRecord ( Record record)
pure virtual

◆ Flush()

virtual void CppLogging::Appender::Flush ( )
inlinevirtual

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