|
CppLogging 1.0.5.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. | |
Public Member Functions inherited from CppLogging::Element | |
| virtual bool | IsStarted () const noexcept |
| Is the logging element started? | |
| virtual bool | Start () |
| Start the logging element. | |
| virtual bool | Stop () |
| Stop the logging element. | |
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 |