CppLogging
1.0.4.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. 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 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::TextLayout, CppLogging::NullLayout, CppLogging::HashLayout, CppLogging::EmptyLayout, and CppLogging::BinaryLayout.