Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::record::AbstractAppender Class Referenceabstract

Base class for log appenders. More...

#include <AbstractAppender.h>

Inheritance diagram for sese::record::AbstractAppender:
sese::record::BlockAppender sese::record::ConsoleAppender sese::record::FileAppender

Public Types

typedef std::shared_ptr< AbstractAppenderPtr
 

Public Member Functions

 AbstractAppender () noexcept=default
 
virtual ~AbstractAppender () noexcept=default
 
 AbstractAppender (Level level) noexcept
 
virtual void dump (const char *buffer, size_t size) noexcept=0
 
Level getLevel () const noexcept
 
void setLevel (Level lv) noexcept
 

Protected Attributes

Level level = Level::DEBUG
 Output threshold.
 

Detailed Description

Base class for log appenders.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ AbstractAppender() [1/2]

sese::record::AbstractAppender::AbstractAppender ( )
defaultnoexcept

◆ ~AbstractAppender()

virtual sese::record::AbstractAppender::~AbstractAppender ( )
virtualdefaultnoexcept

◆ AbstractAppender() [2/2]

sese::record::AbstractAppender::AbstractAppender ( Level level)
explicitnoexcept

Member Function Documentation

◆ dump()

virtual void sese::record::AbstractAppender::dump ( const char * buffer,
size_t size )
pure virtualnoexcept

◆ getLevel()

Level sese::record::AbstractAppender::getLevel ( ) const
inlinenodiscardnoexcept

References level.

◆ setLevel()

void sese::record::AbstractAppender::setLevel ( Level lv)
inlinenoexcept

References level.

Member Data Documentation

◆ level

Level sese::record::AbstractAppender::level = Level::DEBUG
protected

Output threshold.

Referenced by getLevel(), and setLevel().


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