Make use of nymea logging categories and offer libnymea-zigbee ZigbeeNetwork logging category within nymea to enable
This commit is contained in:
parent
915cd25a7d
commit
6e72689c56
@ -37,6 +37,8 @@
|
||||
|
||||
#include <zigbeenetworkmanager.h>
|
||||
|
||||
NYMEA_LOGGING_CATEGORY(dcZigbeeResource, "ZigbeeResource")
|
||||
|
||||
namespace nymeaserver {
|
||||
|
||||
ZigbeeHardwareResourceImplementation::ZigbeeHardwareResourceImplementation(QObject *parent) :
|
||||
|
||||
@ -32,7 +32,11 @@
|
||||
#include "nymeasettings.h"
|
||||
#include "loggingcategories.h"
|
||||
|
||||
#include <QSerialPortInfo>
|
||||
NYMEA_LOGGING_CATEGORY(dcZigbee, "Zigbee")
|
||||
|
||||
// Register debug category from the libnymea-zigbee.
|
||||
// Do not use this category within nymea!
|
||||
NYMEA_LOGGING_CATEGORY(dcZigbeeNetwork, "ZigbeeNetwork")
|
||||
|
||||
namespace nymeaserver {
|
||||
|
||||
|
||||
@ -76,9 +76,6 @@ NYMEA_LOGGING_CATEGORY(dcBluetoothServerTraffic, "BluetoothServerTraffic")
|
||||
NYMEA_LOGGING_CATEGORY(dcMqtt, "Mqtt")
|
||||
NYMEA_LOGGING_CATEGORY(dcTranslations, "Translations")
|
||||
NYMEA_LOGGING_CATEGORY(dcI2C, "I2C")
|
||||
NYMEA_LOGGING_CATEGORY(dcZigbee, "Zigbee")
|
||||
NYMEA_LOGGING_CATEGORY(dcZigbeeResource, "ZigbeeResource")
|
||||
|
||||
|
||||
static QFile s_logFile;
|
||||
static bool s_useColors;
|
||||
|
||||
Reference in New Issue
Block a user