CppLogging
1.0.4.0
C++ Logging Library
|
Debug appender. More...
#include <debug_appender.h>
Public Member Functions | |
DebugAppender ()=default | |
DebugAppender (const DebugAppender &)=delete | |
DebugAppender (DebugAppender &&)=delete | |
virtual | ~DebugAppender ()=default |
DebugAppender & | operator= (const DebugAppender &)=delete |
DebugAppender & | operator= (DebugAppender &&)=delete |
void | AppendRecord (Record &record) override |
Append the given logging record. More... | |
void | Flush () override |
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... | |
Debug appender.
Debug appender prints the given logging record into the attached debugger if present for Windows system. Under Unix systems this appender prints the given logging record into the system error stream (stderr).
Thread-safe.
Definition at line 25 of file debug_appender.h.
|
default |
|
delete |
|
delete |
|
virtualdefault |
|
overridevirtual |
Append the given logging record.
record | - Logging record |
Implements CppLogging::Appender.
Definition at line 19 of file debug_appender.cpp.
|
overridevirtual |
Flush the logging appender.
Reimplemented from CppLogging::Appender.
Definition at line 34 of file debug_appender.cpp.
|
delete |
|
delete |