CppLogging  1.0.4.0
C++ Logging Library
binary_layout.h
Go to the documentation of this file.
1 
9 #ifndef CPPLOGGING_LAYOUTS_BINARY_LAYOUT_H
10 #define CPPLOGGING_LAYOUTS_BINARY_LAYOUT_H
11 
12 #include "logging/layout.h"
13 
14 namespace CppLogging {
15 
17 
23 class BinaryLayout : public Layout
24 {
25 public:
26  BinaryLayout() = default;
27  BinaryLayout(const BinaryLayout&) = delete;
29  virtual ~BinaryLayout() = default;
30 
31  BinaryLayout& operator=(const BinaryLayout&) = delete;
33 
34  // Implementation of Layout
35  void LayoutRecord(Record& record) override;
36 };
37 
38 } // namespace CppLogging
39 
40 #endif // CPPLOGGING_LAYOUTS_BINARY_LAYOUT_H
void LayoutRecord(Record &record) override
Layout the given logging record into a raw buffer.
BinaryLayout & operator=(const BinaryLayout &)=delete
BinaryLayout(BinaryLayout &&)=delete
BinaryLayout & operator=(BinaryLayout &&)=delete
virtual ~BinaryLayout()=default
BinaryLayout(const BinaryLayout &)=delete
Logging layout interface.
Definition: layout.h:28
Logging record.
Definition: record.h:37
Logging layout interface definition.
C++ Logging project definitions.
Definition: appender.h:15