4#include <QCoreApplication>
5#include <QLoggingCategory>
33 QList<UsbEntry> entries;
59int main(
int argc,
char *argv[])
static void setFilterRules(const QString &rules)
Configures which categories and message types should be enabled through a set of rules.
void(* CategoryFilter)(QLoggingCategory *)
This is a typedef for a pointer to a function with the following signature:
void setEnabled(QtMsgType type, bool enable)
Changes the message type type for the category to enable.
static CategoryFilter installFilter(CategoryFilter)
Take control of how logging categories are configured.
const char * categoryName() const
Returns the name of the category.
const QLoggingCategory & category()
[1]
void qSetMessagePattern(const QString &pattern)
Q_CORE_EXPORT int qstrcmp(const char *str1, const char *str2)
#define Q_LOGGING_CATEGORY(name,...)
#define qCFatal(category,...)
#define qCInfo(category,...)
#define qCCritical(category,...)
#define qCWarning(category,...)
#define qCDebug(category,...)
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLboolean GLboolean GLboolean GLboolean a
[7]
#define QStringLiteral(str)
QDebug operator<<(QDebug &debug, const UsbEntry &entry)
static QLoggingCategory::CategoryFilter oldCategoryFilter
[20]
void myCategoryFilter(QLoggingCategory *)
[20]
QList< UsbEntry > usbEntries()