![]() |
Qt 6.x
The Qt SDK
|
#include "qloggingregistry_p.h"#include <QtCore/qfile.h>#include <QtCore/qlibraryinfo.h>#include <QtCore/private/qlocking_p.h>#include <QtCore/qstandardpaths.h>#include <QtCore/qstringtokenizer.h>#include <QtCore/qtextstream.h>#include <QtCore/qdir.h>#include <QtCore/qcoreapplication.h>
Include dependency graph for qloggingregistry.cpp:Go to the source code of this file.
Macros | |
| #define | debugMsg QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC, "qt.core.logging").debug |
| #define | warnMsg QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC, "qt.core.logging").warning |
Functions | |
| static bool | qtLoggingDebug () |
| static QList< QLoggingRule > | loadRulesFromFile (const QString &filePath) |
| #define debugMsg QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC, "qt.core.logging").debug |
Definition at line 22 of file qloggingregistry.cpp.
| #define warnMsg QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC, "qt.core.logging").warning |
Definition at line 23 of file qloggingregistry.cpp.
|
static |
Definition at line 251 of file qloggingregistry.cpp.
References QByteArray::constData(), debugMsg, file, QFile::fileName(), QFile::open(), qtLoggingDebug(), QIODeviceBase::ReadOnly, QLoggingSettingsParser::rules(), QLoggingSettingsParser::setContent(), QIODeviceBase::Text, QDir::toNativeSeparators(), and QString::toUtf8().
Referenced by QLoggingRegistry::initializeRules().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 245 of file qloggingregistry.cpp.
References qEnvironmentVariableIsSet().
Referenced by loadRulesFromFile(), and QLoggingRegistry::setApiRules().
Here is the call graph for this function:
Here is the caller graph for this function: