aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-13 17:59:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-13 17:59:12 +0000
commita14f89c0683452d573131795e24be2f2fe7580f9 (patch)
tree47fb65b399898c4076199da74186b51c30fd003a /src/core/ngx_log.h
parent643c8ea353d4495fb4bbbde1cc7126a37f9a690f (diff)
downloadnginx-a14f89c0683452d573131795e24be2f2fe7580f9.tar.gz
nginx-a14f89c0683452d573131795e24be2f2fe7580f9.zip
nginx-0.0.7-2004-07-13-21:59:12 import
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r--src/core/ngx_log.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 4765f3b90..20fb227df 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -163,6 +163,12 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \
arg1, arg2, arg3, arg4, arg5, arg6)
+#define ngx_log_debug7(level, log, err, fmt, \
+ arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
+ if (log->log_level & level) \
+ ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \
+ arg1, arg2, arg3, arg4, arg5, arg6, arg7)
+
#else /* NO VARIADIC MACROS */
#define ngx_log_debug0(level, log, err, fmt) \
@@ -194,6 +200,12 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
if (log->log_level & level) \
ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6)
+#define ngx_log_debug7(level, log, err, fmt, \
+ arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
+ if (log->log_level & level) \
+ ngx_log_debug_core(log, err, fmt, \
+ arg1, arg2, arg3, arg4, arg5, arg6, arg7)
+
#endif
#else /* NO NGX_DEBUG */
@@ -205,6 +217,8 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4)
#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5)
#define ngx_log_debug6(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6)
+#define ngx_log_debug7(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6,
+ arg7)
#endif