rename logging

This commit is contained in:
Simon Stürz 2015-06-21 16:59:21 +02:00 committed by Michael Zanetti
parent c496d26866
commit 5bbf1fc70b
58 changed files with 58 additions and 58 deletions

View File

@ -169,7 +169,7 @@
*/ */
#include "devicemanager.h" #include "devicemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "hardware/radio433/radio433.h" #include "hardware/radio433/radio433.h"

View File

@ -67,7 +67,7 @@
*/ */
#include "gpio.h" #include "gpio.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -148,7 +148,7 @@
*/ */
#include "gpiomonitor.h" #include "gpiomonitor.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
/*! Constructs a \l{GpioMonitor} object with the given \a parent. */ /*! Constructs a \l{GpioMonitor} object with the given \a parent. */
GpioMonitor::GpioMonitor(QObject *parent) : GpioMonitor::GpioMonitor(QObject *parent) :

View File

@ -50,7 +50,7 @@
*/ */
#include "radio433.h" #include "radio433.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QFileInfo> #include <QFileInfo>

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "radio433brennenstuhlgateway.h" #include "radio433brennenstuhlgateway.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
Radio433BrennenstuhlGateway::Radio433BrennenstuhlGateway(QObject *parent) : Radio433BrennenstuhlGateway::Radio433BrennenstuhlGateway(QObject *parent) :
QObject(parent) QObject(parent)

View File

@ -24,7 +24,7 @@
#include <sys/time.h> #include <sys/time.h>
#include "radio433receiver.h" #include "radio433receiver.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
Radio433Receiver::Radio433Receiver(QObject *parent, int gpio) : Radio433Receiver::Radio433Receiver(QObject *parent, int gpio) :
QThread(parent),m_gpioPin(gpio) QThread(parent),m_gpioPin(gpio)

View File

@ -37,7 +37,7 @@ SOURCES += plugin/device.cpp \
types/ruleaction.cpp \ types/ruleaction.cpp \
types/ruleactionparam.cpp \ types/ruleactionparam.cpp \
types/statedescriptor.cpp \ types/statedescriptor.cpp \
loggingcategorys.cpp \ loggingcategories.cpp \
HEADERS += plugin/device.h \ HEADERS += plugin/device.h \
plugin/deviceclass.h \ plugin/deviceclass.h \
@ -70,5 +70,5 @@ HEADERS += plugin/device.h \
types/ruleactionparam.h \ types/ruleactionparam.h \
types/statedescriptor.h \ types/statedescriptor.h \
typeutils.h \ typeutils.h \
loggingcategorys.h \ loggingcategories.h \

View File

@ -18,7 +18,7 @@
* * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "loggingcategorys.h" #include "loggingcategories.h"
Q_LOGGING_CATEGORY(dcApplication, "Application") Q_LOGGING_CATEGORY(dcApplication, "Application")
Q_LOGGING_CATEGORY(dcDeviceManager, "DeviceManager") Q_LOGGING_CATEGORY(dcDeviceManager, "DeviceManager")

View File

@ -37,7 +37,7 @@
*/ */
#include "networkmanager.h" #include "networkmanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
/*! Construct the hardware resource NetworkManager with the given \a parent. */ /*! Construct the hardware resource NetworkManager with the given \a parent. */
NetworkManager::NetworkManager(QObject *parent) : NetworkManager::NetworkManager(QObject *parent) :

View File

@ -48,7 +48,7 @@
#include "upnpdiscovery.h" #include "upnpdiscovery.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
/*! Construct the hardware resource UpnpDiscovery with the given \a parent. */ /*! Construct the hardware resource UpnpDiscovery with the given \a parent. */
UpnpDiscovery::UpnpDiscovery(QObject *parent) : UpnpDiscovery::UpnpDiscovery(QObject *parent) :

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "upnpdiscoveryrequest.h" #include "upnpdiscoveryrequest.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
UpnpDiscoveryRequest::UpnpDiscoveryRequest(UpnpDiscovery *upnpDiscovery, PluginId pluginId, QString searchTarget, QString userAgent): UpnpDiscoveryRequest::UpnpDiscoveryRequest(UpnpDiscovery *upnpDiscovery, PluginId pluginId, QString searchTarget, QString userAgent):
QObject(upnpDiscovery), QObject(upnpDiscovery),

View File

@ -40,7 +40,7 @@
#include "device.h" #include "device.h"
#include "types/event.h" #include "types/event.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -137,7 +137,7 @@
*/ */
#include "deviceplugin.h" #include "deviceplugin.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "hardware/radio433/radio433.h" #include "hardware/radio433/radio433.h"

View File

@ -21,7 +21,7 @@
#include "bobclient.h" #include "bobclient.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "libboblight/boblight.h" #include "libboblight/boblight.h"

View File

@ -50,7 +50,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "bobclient.h" #include "bobclient.h"
#include "plugininfo.h" #include "plugininfo.h"

View File

@ -105,7 +105,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -50,7 +50,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -47,7 +47,7 @@
#include "devicepluginelro.h" #include "devicepluginelro.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -72,7 +72,7 @@
#include "devicemanager.h" #include "devicemanager.h"
#include "types/param.h" #include "types/param.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "maxcube.h" #include "maxcube.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
MaxCube::MaxCube(QObject *parent, QString serialNumber, QHostAddress hostAdress, quint16 port): MaxCube::MaxCube(QObject *parent, QString serialNumber, QHostAddress hostAdress, quint16 port):
QTcpSocket(parent), m_serialNumber(serialNumber), m_hostAddress(hostAdress), m_port(port) QTcpSocket(parent), m_serialNumber(serialNumber), m_hostAddress(hostAdress), m_port(port)

View File

@ -49,7 +49,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -53,7 +53,7 @@
#include "devicepluginleynew.h" #include "devicepluginleynew.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -49,7 +49,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "tvdevice.h" #include "tvdevice.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
TvDevice::TvDevice(QObject *parent, UpnpDeviceDescriptor upnpDeviceDescriptor) : TvDevice::TvDevice(QObject *parent, UpnpDeviceDescriptor upnpDeviceDescriptor) :
UpnpDevice(parent, upnpDeviceDescriptor) UpnpDevice(parent, upnpDeviceDescriptor)

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "tveventhandler.h" #include "tveventhandler.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
TvEventHandler::TvEventHandler(QObject *parent, QHostAddress host, int port) : TvEventHandler::TvEventHandler(QObject *parent, QHostAddress host, int port) :
QTcpServer(parent),m_host(host),m_port(port) QTcpServer(parent),m_host(host),m_port(port)

View File

@ -50,7 +50,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "lircdclient.h" #include "lircdclient.h"

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "lircdclient.h" #include "lircdclient.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QLocalSocket> #include <QLocalSocket>

View File

@ -67,7 +67,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QJsonDocument> #include <QJsonDocument>

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "smtpclient.h" #include "smtpclient.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
SmtpClient::SmtpClient(QObject *parent): SmtpClient::SmtpClient(QObject *parent):
QObject(parent) QObject(parent)

View File

@ -25,7 +25,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -25,7 +25,7 @@
#include "plugin/deviceclass.h" #include "plugin/deviceclass.h"
#include "plugin/deviceplugin.h" #include "plugin/deviceplugin.h"
#include "types/statetype.h" #include "types/statetype.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QTcpSocket> #include <QTcpSocket>
#include <QDebug> #include <QDebug>

View File

@ -56,7 +56,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QJsonDocument> #include <QJsonDocument>

View File

@ -51,7 +51,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "types/param.h" #include "types/param.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -25,7 +25,7 @@
#include "deviceplugintune.h" #include "deviceplugintune.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
DevicePluginTune::DevicePluginTune() DevicePluginTune::DevicePluginTune()
{ {

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "jsonrpcserver.h" #include "jsonrpcserver.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
extern PluginId pluginId; extern PluginId pluginId;
extern DeviceClassId moodDeviceClassId; extern DeviceClassId moodDeviceClassId;

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "tunemanager.h" #include "tunemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
TuneManager::TuneManager(int port, QObject *parent) : TuneManager::TuneManager(int port, QObject *parent) :
QObject(parent), QObject(parent),

View File

@ -65,7 +65,7 @@
#include "devicepluginudpcommander.h" #include "devicepluginudpcommander.h"
#include "plugin/device.h" #include "plugin/device.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
DevicePluginUdpCommander::DevicePluginUdpCommander() DevicePluginUdpCommander::DevicePluginUdpCommander()
{ {

View File

@ -47,7 +47,7 @@
#include "devicepluginunitec.h" #include "devicepluginunitec.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -53,7 +53,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -53,7 +53,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QNetworkReply> #include <QNetworkReply>

View File

@ -52,7 +52,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "plugininfo.h" #include "plugininfo.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>

View File

@ -100,7 +100,7 @@
*/ */
#include "guhcore.h" #include "guhcore.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "jsonrpcserver.h" #include "jsonrpcserver.h"
#include "ruleengine.h" #include "ruleengine.h"
#include "logging/logengine.h" #include "logging/logengine.h"

View File

@ -20,7 +20,7 @@
#include <unistd.h> #include <unistd.h>
#include "guhservice.h" #include "guhservice.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
GuhService::GuhService(int argc, char **argv): GuhService::GuhService(int argc, char **argv):
QtService<QCoreApplication>(argc, argv, "guh daemon") QtService<QCoreApplication>(argc, argv, "guh daemon")

View File

@ -24,7 +24,7 @@
#include "guhcore.h" #include "guhcore.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "types/action.h" #include "types/action.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -22,7 +22,7 @@
#include "devicehandler.h" #include "devicehandler.h"
#include "guhcore.h" #include "guhcore.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "plugin/device.h" #include "plugin/device.h"
#include "plugin/deviceclass.h" #include "plugin/deviceclass.h"
#include "plugin/deviceplugin.h" #include "plugin/deviceplugin.h"

View File

@ -21,7 +21,7 @@
#include "eventhandler.h" #include "eventhandler.h"
#include "guhcore.h" #include "guhcore.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
EventHandler::EventHandler(QObject *parent) : EventHandler::EventHandler(QObject *parent) :
JsonHandler(parent) JsonHandler(parent)

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "jsonhandler.h" #include "jsonhandler.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QMetaMethod> #include <QMetaMethod>
#include <QDebug> #include <QDebug>

View File

@ -36,7 +36,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "rule.h" #include "rule.h"
#include "ruleengine.h" #include "ruleengine.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "devicehandler.h" #include "devicehandler.h"
#include "actionhandler.h" #include "actionhandler.h"

View File

@ -24,7 +24,7 @@
#include "plugin/device.h" #include "plugin/device.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "ruleengine.h" #include "ruleengine.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QStringList> #include <QStringList>
#include <QJsonDocument> #include <QJsonDocument>

View File

@ -22,7 +22,7 @@
#include "logginghandler.h" #include "logginghandler.h"
#include "logging/logengine.h" #include "logging/logengine.h"
#include "guhcore.h" #include "guhcore.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
LoggingHandler::LoggingHandler(QObject *parent) : LoggingHandler::LoggingHandler(QObject *parent) :
JsonHandler(parent) JsonHandler(parent)

View File

@ -23,7 +23,7 @@
#include "guhcore.h" #include "guhcore.h"
#include "ruleengine.h" #include "ruleengine.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>

View File

@ -21,7 +21,7 @@
#include "statehandler.h" #include "statehandler.h"
#include "guhcore.h" #include "guhcore.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
StateHandler::StateHandler(QObject *parent) : StateHandler::StateHandler(QObject *parent) :
JsonHandler(parent) JsonHandler(parent)

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "logengine.h" #include "logengine.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "logging.h" #include "logging.h"
#include <QSqlDatabase> #include <QSqlDatabase>

View File

@ -28,7 +28,7 @@
#include "guhcore.h" #include "guhcore.h"
#include "guhservice.h" #include "guhservice.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
QHash<QString, bool> s_loggingFilters; QHash<QString, bool> s_loggingFilters;

View File

@ -76,7 +76,7 @@
#include "ruleengine.h" #include "ruleengine.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include "types/paramdescriptor.h" #include "types/paramdescriptor.h"
#include "types/eventdescriptor.h" #include "types/eventdescriptor.h"

View File

@ -22,7 +22,7 @@
#include "stateevaluator.h" #include "stateevaluator.h"
#include "guhcore.h" #include "guhcore.h"
#include "devicemanager.h" #include "devicemanager.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
StateEvaluator::StateEvaluator(const StateDescriptor &stateDescriptor): StateEvaluator::StateEvaluator(const StateDescriptor &stateDescriptor):
m_stateDescriptor(stateDescriptor), m_stateDescriptor(stateDescriptor),

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "tcpserver.h" #include "tcpserver.h"
#include "loggingcategorys.h" #include "loggingcategories.h"
#include <QDebug> #include <QDebug>
#include <QJsonDocument> #include <QJsonDocument>