comparison src/core/ngx_log.h @ 186:c1f3a3c7c5db

nginx-0.0.1-2003-11-17-00:49:42 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 16 Nov 2003 21:49:42 +0000
parents e7e094d34162
children 71ce40b3c37b
comparison
equal deleted inserted replaced
185:d5f50cefc322 186:c1f3a3c7c5db
137 const char *fmt, ...); 137 const char *fmt, ...);
138 138
139 139
140 #else /* NO VARIADIC MACROS */ 140 #else /* NO VARIADIC MACROS */
141 141
142 #include <stdarg.h>
143
144 #if (NGX_DEBUG) 142 #if (NGX_DEBUG)
145 #define ngx_log_debug(log, text) \ 143 #define ngx_log_debug(log, text) \
146 if (log->log_level == NGX_LOG_DEBUG) \ 144 if (log->log_level == NGX_LOG_DEBUG) \
147 ngx_log_debug_core(log, text) 145 ngx_log_debug_core(log, text)
148 #else 146 #else