diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-19 12:45:27 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-19 12:45:27 +0000 |
commit | 1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6 (patch) | |
tree | 6a7000dd1f33ce80dfb7ec3863a4de3002f5f772 /src/core/ngx_log.h | |
parent | e89c4581f4706187052671a8a40dda4fe3e3c391 (diff) | |
download | nginx-1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6.tar.gz nginx-1cd1e2741ab83cd7e0816e8b8ff43b3668703ea6.zip |
nginx-0.0.1-2003-12-19-15:45:27 import
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r-- | src/core/ngx_log.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h index c3771d74a..9919fa86f 100644 --- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -199,6 +199,14 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...); #endif #if (NGX_DEBUG) +#define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) \ + if (log->log_level & level) \ + ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, arg1, arg2, arg3) +#else +#define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) +#endif + +#if (NGX_DEBUG) #define ngx_log_debug6(level, log, err, fmt, \ arg1, arg2, arg3, arg4, arg5, arg6) \ if (log->log_level & level) \ @@ -237,6 +245,14 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...); #endif #if (NGX_DEBUG) +#define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) \ + if (log->log_level & level) \ + ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3) +#else +#define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) +#endif + +#if (NGX_DEBUG) #define ngx_log_debug6(level, log, err, fmt, \ arg1, arg2, arg3, arg4, arg5, arg6) \ if (log->log_level & level) \ |