CppLogging  1.0.4.0
C++ Logging Library
Public Member Functions | List of all members
CppLogging::EmptyLayout Class Reference

Empty layout. More...

#include <empty_layout.h>

Inheritance diagram for CppLogging::EmptyLayout:
CppLogging::Layout CppLogging::Element

Public Member Functions

 EmptyLayout ()=default
 
 EmptyLayout (const EmptyLayout &)=delete
 
 EmptyLayout (EmptyLayout &&)=delete
 
virtual ~EmptyLayout ()=default
 
EmptyLayoutoperator= (const EmptyLayout &)=delete
 
EmptyLayoutoperator= (EmptyLayout &&)=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...
 

Detailed Description

Empty layout.

Empty layout performs zero memory operation to convert the given logging record into the empty raw buffer.

Thread-safe.

Definition at line 23 of file empty_layout.h.

Constructor & Destructor Documentation

◆ EmptyLayout() [1/3]

CppLogging::EmptyLayout::EmptyLayout ( )
default

◆ EmptyLayout() [2/3]

CppLogging::EmptyLayout::EmptyLayout ( const EmptyLayout )
delete

◆ EmptyLayout() [3/3]

CppLogging::EmptyLayout::EmptyLayout ( EmptyLayout &&  )
delete

◆ ~EmptyLayout()

virtual CppLogging::EmptyLayout::~EmptyLayout ( )
virtualdefault

Member Function Documentation

◆ LayoutRecord()

void CppLogging::EmptyLayout::LayoutRecord ( Record record)
inlineoverridevirtual

Layout the given logging record into a raw buffer.

This method will update the raw filed of the given logging record.

Parameters
record- Logging record

Implements CppLogging::Layout.

Definition at line 35 of file empty_layout.h.

◆ operator=() [1/2]

EmptyLayout& CppLogging::EmptyLayout::operator= ( const EmptyLayout )
delete

◆ operator=() [2/2]

EmptyLayout& CppLogging::EmptyLayout::operator= ( EmptyLayout &&  )
delete

The documentation for this class was generated from the following file: