Mercurial > hg > nginx
comparison src/core/ngx_log.h @ 389:537de4dca8ca
nginx-0.0.7-2004-07-13-21:59:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 13 Jul 2004 17:59:12 +0000 |
parents | 73688d5d7fc3 |
children | 0526206251f6 |
comparison
equal
deleted
inserted
replaced
388:80e72c428b39 | 389:537de4dca8ca |
---|---|
161 arg1, arg2, arg3, arg4, arg5, arg6) \ | 161 arg1, arg2, arg3, arg4, arg5, arg6) \ |
162 if (log->log_level & level) \ | 162 if (log->log_level & level) \ |
163 ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \ | 163 ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \ |
164 arg1, arg2, arg3, arg4, arg5, arg6) | 164 arg1, arg2, arg3, arg4, arg5, arg6) |
165 | 165 |
166 #define ngx_log_debug7(level, log, err, fmt, \ | |
167 arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ | |
168 if (log->log_level & level) \ | |
169 ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, \ | |
170 arg1, arg2, arg3, arg4, arg5, arg6, arg7) | |
171 | |
166 #else /* NO VARIADIC MACROS */ | 172 #else /* NO VARIADIC MACROS */ |
167 | 173 |
168 #define ngx_log_debug0(level, log, err, fmt) \ | 174 #define ngx_log_debug0(level, log, err, fmt) \ |
169 if (log->log_level & level) \ | 175 if (log->log_level & level) \ |
170 ngx_log_debug_core(log, err, fmt) | 176 ngx_log_debug_core(log, err, fmt) |
191 | 197 |
192 #define ngx_log_debug6(level, log, err, fmt, \ | 198 #define ngx_log_debug6(level, log, err, fmt, \ |
193 arg1, arg2, arg3, arg4, arg5, arg6) \ | 199 arg1, arg2, arg3, arg4, arg5, arg6) \ |
194 if (log->log_level & level) \ | 200 if (log->log_level & level) \ |
195 ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6) | 201 ngx_log_debug_core(log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6) |
202 | |
203 #define ngx_log_debug7(level, log, err, fmt, \ | |
204 arg1, arg2, arg3, arg4, arg5, arg6, arg7) \ | |
205 if (log->log_level & level) \ | |
206 ngx_log_debug_core(log, err, fmt, \ | |
207 arg1, arg2, arg3, arg4, arg5, arg6, arg7) | |
196 | 208 |
197 #endif | 209 #endif |
198 | 210 |
199 #else /* NO NGX_DEBUG */ | 211 #else /* NO NGX_DEBUG */ |
200 | 212 |
203 #define ngx_log_debug2(level, log, err, fmt, arg1, arg2) | 215 #define ngx_log_debug2(level, log, err, fmt, arg1, arg2) |
204 #define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) | 216 #define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) |
205 #define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4) | 217 #define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4) |
206 #define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5) | 218 #define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5) |
207 #define ngx_log_debug6(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6) | 219 #define ngx_log_debug6(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6) |
220 #define ngx_log_debug7(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6, | |
221 arg7) | |
208 | 222 |
209 #endif | 223 #endif |
210 | 224 |
211 /*********************************/ | 225 /*********************************/ |
212 | 226 |