aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-05-26 17:50:27 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-05-26 17:50:27 +0000
commit5d404864f204147ede0cb6e19c64e06ebdb85496 (patch)
tree91a8bae1bf7b20b378e960da7c100cb4475479ef /capture.h
parent4a5deae5759f85eba4592689aec83ce380959af6 (diff)
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 'capture.h')
-rw-r--r--capture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture.h b/capture.h
index c7e3677f5c..c46c21f6e5 100644
--- a/capture.h
+++ b/capture.h
@@ -106,6 +106,12 @@ capture_opts_init(capture_options *capture_opts, void *cfile);
extern void
capture_opts_add_opt(capture_options *capture_opts, const char *appname, int opt, const char *optarg, gboolean *start_capture);
+/* log content of capture_opts */
+extern void
+capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_options *capture_opts);
+
+
+
/**
* Start a capture session.
*