CppLogging 1.0.5.0
C++ Logging Library
|
Logging layout interface. More...
#include <layout.h>
Public Member Functions | |
virtual void | LayoutRecord (Record &record)=0 |
Layout the given logging record into a raw buffer. | |
![]() | |
virtual bool | IsStarted () const noexcept |
Is the logging element started? | |
virtual bool | Start () |
Start the logging element. | |
virtual bool | Stop () |
Stop the logging element. | |
Logging layout interface.
Logging layout takes an instance of a single logging record and convert it into a raw buffer (raw filed will be updated).
|
pure virtual |
Layout the given logging record into a raw buffer.
This method will update the raw filed of the given logging record.
record | - Logging record |
Implemented in CppLogging::BinaryLayout, CppLogging::EmptyLayout, CppLogging::HashLayout, CppLogging::NullLayout, and CppLogging::TextLayout.