Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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>
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.
Referenced by QLoggingRegistry::initializeRules(), loadRulesFromFile(), qtLoggingDebug(), and QLoggingRegistry::setApiRules().
#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 253 of file qloggingregistry.cpp.
References debugMsg, file, QFile::open(), qtLoggingDebug(), QIODeviceBase::ReadOnly, QLoggingSettingsParser::rules(), QLoggingSettingsParser::setContent(), QList< T >::size(), QIODeviceBase::Text, and QDir::toNativeSeparators().
Referenced by QLoggingRegistry::initializeRules().
|
static |
Definition at line 242 of file qloggingregistry.cpp.
References debug, debugMsg, and qEnvironmentVariableIsSet().
Referenced by QLoggingRegistry::initializeRules(), loadRulesFromFile(), and QLoggingRegistry::setApiRules().