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>.
Loading...
Searching...
No Matches
QLoggingCategoryWithEnvironmentOverride Class Reference

#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.
 
QLoggingCategoryoperator() ()
 Returns the object itself.
 
const QLoggingCategoryoperator() () 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 QLoggingCategorydefaultCategory ()
 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.
 

Detailed Description

Definition at line 136 of file qloggingregistry_p.h.

Constructor & Destructor Documentation

◆ QLoggingCategoryWithEnvironmentOverride()

QLoggingCategoryWithEnvironmentOverride::QLoggingCategoryWithEnvironmentOverride ( const char * category,
const char * env )
inline

Definition at line 139 of file qloggingregistry_p.h.


The documentation for this class was generated from the following file: