BIMHome v1.0.0
BIMHome接口文档说明
Public 成员函数 | Public 属性 | 所有成员列表
LogLevel类 参考

日志级别辅助类 更多...

#include <Console.h>

Public 成员函数

bool isEnabled (int l)
 检查日志级别是否启用
 
int level () const
 获取当前日志级别
 
 LogLevel (const char *tag, bool print_tag=true, int print_src=0, bool print_time=false, bool add_eol=true, bool refresh=false)
 
std::stringstream & prefix (std::stringstream &str, const char *src, int line)
 生成日志前缀
 

Public 属性

bool add_eol
 是否添加换行符
 
int & lvl
 日志级别引用
 
int print_src
 打印源代码位置的级别
 
bool print_tag
 是否打印标签
 
bool print_time
 是否打印时间
 
bool refresh
 是否刷新
 
std::string tag
 日志标签
 

详细描述

日志级别辅助类

提供日志级别的管理功能,包括日志级别检查、日志前缀生成等。


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