CppLogging
1.0.4.0
C++ Logging Library
|
Logging appender interface. More...
#include <appender.h>
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... | |
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.
Definition at line 32 of file appender.h.
|
pure virtual |
Append the given logging record.
record | - Logging record |
Implemented in CppLogging::SyslogAppender, CppLogging::RollingFileAppender, CppLogging::OstreamAppender, CppLogging::NullAppender, CppLogging::MemoryAppender, CppLogging::FileAppender, CppLogging::ErrorAppender, CppLogging::DebugAppender, and CppLogging::ConsoleAppender.
|
inlinevirtual |
Flush the logging appender.
Reimplemented in CppLogging::RollingFileAppender, CppLogging::OstreamAppender, CppLogging::FileAppender, CppLogging::ErrorAppender, CppLogging::DebugAppender, and CppLogging::ConsoleAppender.
Definition at line 42 of file appender.h.