X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/093ec8103f8de58d890a77b458985ecf4293bfa7..443e4c7ce400d3f2fe0c04984bafae8ea0dae964:/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__; \