![]() |
Qt 6.x
The Qt SDK
|
#include <qloggingregistry_p.h>
Inheritance diagram for QLoggingCategoryWithEnvironmentOverride:
Collaboration diagram for QLoggingCategoryWithEnvironmentOverride:Public Member Functions | |
| QLoggingCategoryWithEnvironmentOverride (const char *category, const char *env) | |
Public Member Functions inherited from QLoggingCategory | |
| QLoggingCategory (const char *category, QtMsgType severityLevel=QtDebugMsg) | |
| Constructs a QLoggingCategory object with the provided category name, and enables all messages with types at least as verbose as enableForLevel, which defaults to QtDebugMsg (which enables all categories). | |
| ~QLoggingCategory () | |
| Destroys a QLoggingCategory object. | |
| bool | isEnabled (QtMsgType type) const |
Returns true if a message of type msgtype for the category should be shown; false otherwise. | |
| void | setEnabled (QtMsgType type, bool enable) |
| Changes the message type type for the category to enable. | |
| bool | isDebugEnabled () const |
Returns true if debug messages should be shown for this category; false otherwise. | |
| bool | isInfoEnabled () const |
Returns true if informational messages should be shown for this category; false otherwise. | |
| bool | isWarningEnabled () const |
Returns true if warning messages should be shown for this category; false otherwise. | |
| bool | isCriticalEnabled () const |
Returns true if critical messages should be shown for this category; false otherwise. | |
| const char * | categoryName () const |
| Returns the name of the category. | |
| QLoggingCategory & | operator() () |
| Returns the object itself. | |
| const QLoggingCategory & | operator() () const |
| Returns the object itself. | |
Additional Inherited Members | |
Public Types inherited from QLoggingCategory | |
| typedef void(* | CategoryFilter) (QLoggingCategory *) |
| This is a typedef for a pointer to a function with the following signature: | |
Static Public Member Functions inherited from QLoggingCategory | |
| static QLoggingCategory * | defaultCategory () |
Returns a pointer to the global category "default" that is used, for example, by qDebug(), qInfo(), qWarning(), qCritical(), or qFatal(). | |
| static CategoryFilter | installFilter (CategoryFilter) |
| Take control of how logging categories are configured. | |
| static void | setFilterRules (const QString &rules) |
| Configures which categories and message types should be enabled through a set of rules. | |
Definition at line 134 of file qloggingregistry_p.h.
|
inline |
Definition at line 137 of file qloggingregistry_p.h.