summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_log.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-12-22 09:40:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-12-22 09:40:48 +0000
commit669e3319cea6431bd4605a41979389789b2e046d (patch)
treee085369c185439a82e9a666beb947763666c7da1 /src/core/ngx_log.h
parent1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6 (diff)
downloadnginx-669e3319cea6431bd4605a41979389789b2e046d.tar.gz
nginx-669e3319cea6431bd4605a41979389789b2e046d.tar.bz2
nginx-0.0.1-2003-12-22-12:40:48 import
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r--src/core/ngx_log.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 9919fa86f..2d7f2e94f 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -207,6 +207,23 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
#endif
#if (NGX_DEBUG)
+#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4) \
+ if (log->log_level & level) \
+ ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, arg1, arg2, arg3, arg4)
+#else
+#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4)
+#endif
+
+#if (NGX_DEBUG)
+#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5) \
+ if (log->log_level & level) \
+ ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \
+ arg1, arg2, arg3, arg4, arg5)
+#else
+#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5)
+#endif
+
+#if (NGX_DEBUG)
#define ngx_log_debug6(level, log, err, fmt, \
arg1, arg2, arg3, arg4, arg5, arg6) \
if (log->log_level & level) \
@@ -253,6 +270,22 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
#endif
#if (NGX_DEBUG)
+#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4) \
+ if (log->log_level & level) \
+ ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3, arg4)
+#else
+#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4)
+#endif
+
+#if (NGX_DEBUG)
+#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5) \
+ if (log->log_level & level) \
+ ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3, arg4, arg5)
+#else
+#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5)
+#endif
+
+#if (NGX_DEBUG)
#define ngx_log_debug6(level, log, err, fmt, \
arg1, arg2, arg3, arg4, arg5, arg6) \
if (log->log_level & level) \