QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCLoggingCategory.h File Reference
#include <QtCore/QLoggingCategory>
+ Include dependency graph for QGCLoggingCategory.h:

Go to the source code of this file.

Classes

class  QGCLoggingCategory
 Helper that defers category registration until the QGCLoggingCategoryManager singleton exists. Pre-manager registrations are buffered and replayed on init(). More...
 

Macros

#define QGC_LOGGING_CATEGORY(name, categoryStr)
 
#define QGC_LOGGING_CATEGORY_ON(name, categoryStr)
 

Macro Definition Documentation

◆ QGC_LOGGING_CATEGORY

#define QGC_LOGGING_CATEGORY (   name,
  categoryStr 
)
Value:
static QGCLoggingCategory qgcCategory##name(categoryStr); \
Q_LOGGING_CATEGORY(name, categoryStr, QtWarningMsg)
Helper that defers category registration until the QGCLoggingCategoryManager singleton exists....

Definition at line 7 of file QGCLoggingCategory.h.

◆ QGC_LOGGING_CATEGORY_ON

#define QGC_LOGGING_CATEGORY_ON (   name,
  categoryStr 
)
Value:
static QGCLoggingCategory qgcCategory##name(categoryStr); \
Q_LOGGING_CATEGORY(name, categoryStr, QtInfoMsg)

Definition at line 11 of file QGCLoggingCategory.h.