comparison src/core/ngx_log.h @ 1953:ce75aac647e7

axe never used macro
author Igor Sysoev <igor@sysoev.ru>
date Thu, 20 Mar 2008 07:31:51 +0000
parents 68f30ab68bb7
children dbd02ee65df4
comparison
equal deleted inserted replaced
1952:ee106335b762 1953:ce75aac647e7
193 193
194 #endif 194 #endif
195 195
196 /*********************************/ 196 /*********************************/
197 197
198 #define ngx_log_alloc_log(pool, log) ngx_palloc(pool, log, sizeof(ngx_log_t))
199 #define ngx_log_copy_log(new, old) ngx_memcpy(new, old, sizeof(ngx_log_t))
200
201 ngx_log_t *ngx_log_init(void); 198 ngx_log_t *ngx_log_init(void);
202 ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args); 199 ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
203 char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log); 200 char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log);
204 void ngx_log_abort(ngx_err_t err, const char *text); 201 void ngx_log_abort(ngx_err_t err, const char *text);
205 202