QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxCore::QxLogger::Options结构体 参考

#include <qxcore/qxlogger.h>

Public 成员函数

 Options ()
 

Public 属性

QString fileName
 Log file path; empty disables file output.
 
Level level
 Messages below this level are dropped.
 
qint64 maxFileSize
 Rotate once the file grows past this many bytes; <= 0 disables rotation.
 
int maxBackups
 Number of rotated files kept, named after the log file with a numeric suffix.
 
bool toConsole
 Also write to stderr, which is what development builds want.
 

详细描述

在文件 qxlogger.h 第 37 行定义.

构造及析构函数说明

◆ Options()

QxCore::QxLogger::Options::Options ( )
inline

在文件 qxlogger.h 第 38 行定义.

类成员变量说明

◆ fileName

QString QxCore::QxLogger::Options::fileName

Log file path; empty disables file output.

在文件 qxlogger.h 第 47 行定义.

◆ level

Level QxCore::QxLogger::Options::level

Messages below this level are dropped.

在文件 qxlogger.h 第 49 行定义.

◆ maxBackups

int QxCore::QxLogger::Options::maxBackups

Number of rotated files kept, named after the log file with a numeric suffix.

在文件 qxlogger.h 第 53 行定义.

◆ maxFileSize

qint64 QxCore::QxLogger::Options::maxFileSize

Rotate once the file grows past this many bytes; <= 0 disables rotation.

在文件 qxlogger.h 第 51 行定义.

◆ toConsole

bool QxCore::QxLogger::Options::toConsole

Also write to stderr, which is what development builds want.

在文件 qxlogger.h 第 55 行定义.


该结构体的文档由以下文件生成: