chiark
/
gitweb
/
~ian
/
innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust INNLOGSET to have debug instead of trace, as current libinn2 does
[innduct.git]
/
innduct.h
diff --git
a/innduct.h
b/innduct.h
index 059b6140c3308e86d6339673d698c4890b0f2524..69af7d95f348583294920895df7c26b16feae4d9 100644
(file)
--- a/
innduct.h
+++ b/
innduct.h
@@
-369,7
+369,7
@@
static inline int isewouldblock(int errnoval) {
INNLOGSET(die, "fatal", LOG_ERR) \
INNLOGSET(warn, "warning", LOG_WARNING) \
INNLOGSET(notice, "notice", LOG_NOTICE) \
INNLOGSET(die, "fatal", LOG_ERR) \
INNLOGSET(warn, "warning", LOG_WARNING) \
INNLOGSET(notice, "notice", LOG_NOTICE) \
- INNLOGSET(
trace, "trace", LOG_NOTICE
)
+ INNLOGSET(
debug, "debug", LOG_DEBUG
)
#define INNLOGSET_DECLARE(fn, pfx, sysloglevel) \
void duct_log_##fn(int l, const char *fmt, va_list al, int errval) \
PRINTF(3,0);
#define INNLOGSET_DECLARE(fn, pfx, sysloglevel) \
void duct_log_##fn(int l, const char *fmt, va_list al, int errval) \
PRINTF(3,0);