Sese Framework  x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
sese::record::AbstractAppender类 参考abstract

日志输出源基类 更多...

#include <AbstractAppender.h>

类 sese::record::AbstractAppender 继承关系图:
sese::record::BlockAppender sese::record::ConsoleAppender sese::record::FileAppender

Public 类型

typedef std::shared_ptr< AbstractAppenderPtr
 

Public 成员函数

 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 属性

Level level = Level::DEBUG
 输出阈值
 

详细描述

日志输出源基类

成员类型定义说明

◆ Ptr

构造及析构函数说明

◆ 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

成员函数说明

◆ dump()

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

◆ getLevel()

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

引用了 level.

◆ setLevel()

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

引用了 level.

类成员变量说明

◆ level

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

输出阈值

被这些函数引用 getLevel() , 以及 setLevel().


该类的文档由以下文件生成: