comparison src/core/ngx_log.h @ 6161:e034af368274

Fixed bullying style of comments.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 29 May 2015 09:26:33 +0300
parents 61d7ae76647d
children db138b3b645e
comparison
equal deleted inserted replaced
6160:8edec63bd14d 6161:e034af368274
109 if ((log)->log_level & level) \ 109 if ((log)->log_level & level) \
110 ngx_log_error_core(NGX_LOG_DEBUG, log, args) 110 ngx_log_error_core(NGX_LOG_DEBUG, log, args)
111 111
112 /*********************************/ 112 /*********************************/
113 113
114 #else /* NO VARIADIC MACROS */ 114 #else /* no variadic macros */
115 115
116 #define NGX_HAVE_VARIADIC_MACROS 0 116 #define NGX_HAVE_VARIADIC_MACROS 0
117 117
118 void ngx_cdecl ngx_log_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, 118 void ngx_cdecl ngx_log_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
119 const char *fmt, ...); 119 const char *fmt, ...);
121 const char *fmt, va_list args); 121 const char *fmt, va_list args);
122 void ngx_cdecl ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, 122 void ngx_cdecl ngx_log_debug_core(ngx_log_t *log, ngx_err_t err,
123 const char *fmt, ...); 123 const char *fmt, ...);
124 124
125 125
126 #endif /* VARIADIC MACROS */ 126 #endif /* variadic macros */
127 127
128 128
129 /*********************************/ 129 /*********************************/
130 130
131 #if (NGX_DEBUG) 131 #if (NGX_DEBUG)
164 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \ 164 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
165 ngx_log_debug(level, log, err, fmt, \ 165 ngx_log_debug(level, log, err, fmt, \
166 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) 166 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
167 167
168 168
169 #else /* NO VARIADIC MACROS */ 169 #else /* no variadic macros */
170 170
171 #define ngx_log_debug0(level, log, err, fmt) \ 171 #define ngx_log_debug0(level, log, err, fmt) \
172 if ((log)->log_level & level) \ 172 if ((log)->log_level & level) \
173 ngx_log_debug_core(log, err, fmt) 173 ngx_log_debug_core(log, err, fmt)
174 174
209 ngx_log_debug_core(log, err, fmt, \ 209 ngx_log_debug_core(log, err, fmt, \
210 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) 210 arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)
211 211
212 #endif 212 #endif
213 213
214 #else /* NO NGX_DEBUG */ 214 #else /* !NGX_DEBUG */
215 215
216 #define ngx_log_debug0(level, log, err, fmt) 216 #define ngx_log_debug0(level, log, err, fmt)
217 #define ngx_log_debug1(level, log, err, fmt, arg1) 217 #define ngx_log_debug1(level, log, err, fmt, arg1)
218 #define ngx_log_debug2(level, log, err, fmt, arg1, arg2) 218 #define ngx_log_debug2(level, log, err, fmt, arg1, arg2)
219 #define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3) 219 #define ngx_log_debug3(level, log, err, fmt, arg1, arg2, arg3)