dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
notifylogging.cpp
Go to the documentation of this file.
1 
16 /*
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation; either version 3 of the License, or
20  * (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful, but
23  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25  * for more details.
26  *
27  * You should have received a copy of the GNU General Public License along
28  * with this program; if not, see <http://www.gnu.org/licenses/>
29  */
30 
31 #include "notifylogging.h"
32 
33 #ifdef DEBUG_NOTIFIES_ENABLE
34 QDebug qNotifyDebug()
35 {
36  return qDebug() << "[NOTIFY_PLG]";
37 }
38 #endif
39 
40 #ifndef DEBUG_NOTIFIES_ENABLE
41 QNoDebug qNotifyDebug()
42 {
43  return QNoDebug();
44 }
45 #endif
Uses to logging only inside notify plugin, can be convinient turned on/off.
QDebug qNotifyDebug()