comparison src/core/ngx_log.h @ 2785:d478379e51ac

*) refactor error_log processing: listen socket log might inherit built-in error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Apr 2009 13:53:42 +0000
parents 6d358aeaa989
children e27070fb6c6b
comparison
equal deleted inserted replaced
2784:c2230102df6f 2785:d478379e51ac
194 #endif 194 #endif
195 195
196 /*********************************/ 196 /*********************************/
197 197
198 ngx_log_t *ngx_log_init(u_char *prefix); 198 ngx_log_t *ngx_log_init(u_char *prefix);
199 ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_str_t *name); 199 ngx_log_t *ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name);
200 char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log); 200 char *ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log);
201 void ngx_cdecl ngx_log_abort(ngx_err_t err, const char *fmt, ...); 201 void ngx_cdecl ngx_log_abort(ngx_err_t err, const char *fmt, ...);
202 void ngx_cdecl ngx_log_stderr(ngx_err_t err, const char *fmt, ...); 202 void ngx_cdecl ngx_log_stderr(ngx_err_t err, const char *fmt, ...);
203 u_char *ngx_log_errno(u_char *buf, u_char *last, ngx_err_t err); 203 u_char *ngx_log_errno(u_char *buf, u_char *last, ngx_err_t err);
204 204
205 205