CppLogging
1.0.4.0
C++ Logging Library
|
Binary layout. More...
#include <binary_layout.h>
Public Member Functions | |
BinaryLayout ()=default | |
BinaryLayout (const BinaryLayout &)=delete | |
BinaryLayout (BinaryLayout &&)=delete | |
virtual | ~BinaryLayout ()=default |
BinaryLayout & | operator= (const BinaryLayout &)=delete |
BinaryLayout & | operator= (BinaryLayout &&)=delete |
void | LayoutRecord (Record &record) override |
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... | |
Binary layout.
Binary layout performs simple memory copy operation to convert the given logging record into the plane raw buffer.
Thread-safe.
Definition at line 23 of file binary_layout.h.
|
default |
|
delete |
|
delete |
|
virtualdefault |
|
overridevirtual |
Layout the given logging record into a raw buffer.
This method will update the raw filed of the given logging record.
record | - Logging record |
Implements CppLogging::Layout.
Definition at line 16 of file binary_layout.cpp.
|
delete |
|
delete |