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

Console log appender class. More...

#include <ConsoleAppender.h>

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

Public Member Functions

 ConsoleAppender (Level level=Level::DEBUG) noexcept
 
void dump (const char *buffer, size_t size) noexcept override
 
- Public Member Functions inherited from sese::record::AbstractAppender
 AbstractAppender () noexcept=default
 
virtual ~AbstractAppender () noexcept=default
 
 AbstractAppender (Level level) noexcept
 
Level getLevel () const noexcept
 
void setLevel (Level lv) noexcept
 

Static Public Member Functions

static void setDebugColor () noexcept
 
static void setInfoColor () noexcept
 
static void setWarnColor () noexcept
 
static void setErrorColor () noexcept
 
static void setCleanColor () noexcept
 

Additional Inherited Members

- Public Types inherited from sese::record::AbstractAppender
typedef std::shared_ptr< AbstractAppenderPtr
 
- Protected Attributes inherited from sese::record::AbstractAppender
Level level = Level::DEBUG
 Output threshold.
 

Detailed Description

Console log appender class.

Constructor & Destructor Documentation

◆ ConsoleAppender()

ConsoleAppender::ConsoleAppender ( record::Level level = Level::DEBUG)
explicitnoexcept

Member Function Documentation

◆ dump()

void ConsoleAppender::dump ( const char * buffer,
size_t size )
overridevirtualnoexcept

◆ setCleanColor()

void ConsoleAppender::setCleanColor ( )
staticnoexcept

◆ setDebugColor()

void ConsoleAppender::setDebugColor ( )
staticnoexcept

◆ setErrorColor()

void ConsoleAppender::setErrorColor ( )
staticnoexcept

◆ setInfoColor()

void ConsoleAppender::setInfoColor ( )
staticnoexcept

◆ setWarnColor()

void ConsoleAppender::setWarnColor ( )
staticnoexcept

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