From bf73de8ded17a3841b2fc0e4d5d10b490182e2ff Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 13 Dec 2012 10:00:30 +0100 Subject: Fix compilation without any modules. Add warning to debug_syslog if symbol not set, but the files is being compiled. Change symbol-not-set error in debug_filter to warning. Add do-not-print-date option for stdout output. Fix missing reference to extern debug_class_str. --- debug.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'debug.h') diff --git a/debug.h b/debug.h index 3fdbbf5..3f3b753 100644 --- a/debug.h +++ b/debug.h @@ -72,6 +72,16 @@ enum DBG_OPTION { */ DBG_OPTION_FD, + /** + * Set this option to make the stdout output to be printed without any date + * information in the header. + * Parameter is an integer. + * Values: + * 0 := use date + * 1 := do not use date. + */ + DBG_OPTION_STDOUT_NO_DATE, + /** * Host and port to use when logging on an external server. * Host is a const char* argument, port is an integer. -- cgit v1.2.3