summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-28 14:06:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-28 14:06:18 +0200
commit5b07fe7069347f4c442155cc737ef24bd85fa24a (patch)
tree1ffec21b4d38f942d816a062a016b365a0bdd51c /src/Daemon/Daemon.h
parent7cd21b9ed1a87af2979573b580508651466a67a8 (diff)
downloadabrt-5b07fe7069347f4c442155cc737ef24bd85fa24a.tar.gz
abrt-5b07fe7069347f4c442155cc737ef24bd85fa24a.tar.xz
abrt-5b07fe7069347f4c442155cc737ef24bd85fa24a.zip
daemon: log DBus calls with -v; log file creation only with -vvv
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.h')
-rw-r--r--src/Daemon/Daemon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.h b/src/Daemon/Daemon.h
index 7c236972..084ccd94 100644
--- a/src/Daemon/Daemon.h
+++ b/src/Daemon/Daemon.h
@@ -31,6 +31,9 @@ class CRPM;
/* Verbosity level */
extern int g_verbose;
+#define VERB1 if (g_verbose >= 1)
+#define VERB2 if (g_verbose >= 2)
+#define VERB3 if (g_verbose >= 3)
/* Used for sending dbus signals */
extern CCommLayerServer *g_pCommLayer;