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

Go to the source code of this file.

Classes

class  QGCLoggingCategoryManager
 
class  QGCLoggingCategory
 
class  QGCLoggingCategoryItem
 

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)

This is a QGC specific replacement for Q_LOGGING_CATEGORY. It will register the category name into a global list. It's usage is the same as Q_LOGGING_CATEOGRY.

Definition at line 14 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 18 of file QGCLoggingCategory.h.