diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-13 10:00:30 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-13 10:00:30 +0100 |
commit | bf73de8ded17a3841b2fc0e4d5d10b490182e2ff (patch) | |
tree | 55a68a416e7a42ed0018c59b8fc77308ff308bcf /debug.h | |
parent | 19d68b15981f50f96b0220516334cd9622fe8b17 (diff) |
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.
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -73,6 +73,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. * To be used with the DBG_FLAG_USE_SYSLOG flag. |