X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/c9467b7a34160c4e25580a2dc82087c5ae0bb2d0..b78709940eae7782a365f158d4a89b2f2d6bfea6:/lib/log.h diff --git a/lib/log.h b/lib/log.h index 5d39732..ecabd30 100644 --- a/lib/log.h +++ b/lib/log.h @@ -69,6 +69,11 @@ 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__; \