X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/093ec8103f8de58d890a77b458985ecf4293bfa7..006827074fe1dc0b85de76982e1b9bf5cda07e34:/lib/log.h diff --git a/lib/log.h b/lib/log.h index 4d91008..ecabd30 100644 --- a/lib/log.h +++ b/lib/log.h @@ -67,7 +67,13 @@ extern struct log_output log_stderr, log_syslog, *log_default; extern const char *debug_filename; extern int debug_lineno; +extern int logdate; +/** @brief Issue a debug message if debugging is turned on + * @param x Parenthesized debug arguments + * + * Use in the format: D(("format string", arg, arg, ...)); + */ #define D(x) do { \ if(debugging) { \ debug_filename=__FILE__; \