Pencil2D Animation
Download
Community
News
Docs
Contribute
Overview
Articles
Code
Class List
Class Index
Class Hierarchy
Class Members
File List
Loading...
Searching...
No Matches
core_lib
src
util
log.cpp
1
2
#include "log.h"
3
4
Q_LOGGING_CATEGORY(logCanvasPainter,
"core.canvasPainter"
);
5
Q_LOGGING_CATEGORY(logFileManager,
"core.FileManager"
);
6
7
void
initCategoryLogging()
8
{
9
const
QString
logRules =
10
"*.debug=false\n"
11
"default.debug=true\n"
12
"core.canvasPainter.debug=false\n"
13
"core.fileManager.debug=false"
;
14
15
QLoggingCategory::setFilterRules
(logRules);
16
}
QLoggingCategory::setFilterRules
void setFilterRules(const QString &rules)
QString