|
QtCanpool 3.3.0
|
#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 行定义.
|
inline |
在文件 qxlogger.h 第 38 行定义.
| QString QxCore::QxLogger::Options::fileName |
Log file path; empty disables file output.
在文件 qxlogger.h 第 47 行定义.
| Level QxCore::QxLogger::Options::level |
Messages below this level are dropped.
在文件 qxlogger.h 第 49 行定义.
| int QxCore::QxLogger::Options::maxBackups |
Number of rotated files kept, named after the log file with a numeric suffix.
在文件 qxlogger.h 第 53 行定义.
| qint64 QxCore::QxLogger::Options::maxFileSize |
Rotate once the file grows past this many bytes; <= 0 disables rotation.
在文件 qxlogger.h 第 51 行定义.
| bool QxCore::QxLogger::Options::toConsole |
Also write to stderr, which is what development builds want.
在文件 qxlogger.h 第 55 行定义.