|author||Ulf Lamping <firstname.lastname@example.org>||2005-05-26 17:50:27 +0000|
|committer||Ulf Lamping <email@example.com>||2005-05-26 17:50:27 +0000|
use the log features of the GLib to have verbose output of the capturing engine, e.g. GLib provides different domains for different submodules. Output more verbose than warning level will be disabled by default (just like before).
use the console_log_handler in main.c for win32 AND unix now Currently use the log for the capturing engine (only), as I desperately needed a log output for debugging. svn path=/trunk/; revision=14438
Diffstat (limited to 'log.h')
1 files changed, 39 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
@@ -0,0 +1,39 @@
+ * log output definitions
+ * $Id$
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <firstname.lastname@example.org>
+ * Copyright 1998 Gerald Combs
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+/* capture domain (except for capture child, see below) */
+#define LOG_DOMAIN_CAPTURE "Capture"
+/* capture child domain (the capture child might also contain file domain messages!) */
+#define LOG_DOMAIN_CAPTURE_CHILD "CaptureChild"
+/* enable very verbose capture log debug output */