chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More doc comments
[disorder]
/
lib
/
log.h
diff --git
a/lib/log.h
b/lib/log.h
index 4d91008edc3e0debc4a24d43dca200ba6add5f81..ecabd30f8a7ffd9779ad6a16f6ab5d4392aab743 100644
(file)
--- 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 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__; \
#define D(x) do { \
if(debugging) { \
debug_filename=__FILE__; \