Mercurial > hg > nginx
comparison src/core/ngx_log.h @ 2752:2d82d3cfbfa0
change ngx_log_abort() interface
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 24 Apr 2009 15:50:51 +0000 |
parents | ccaf43725ff6 |
children | 77264e0157ad |
comparison
equal
deleted
inserted
replaced
2751:3b9b67bc0cdc | 2752:2d82d3cfbfa0 |
---|---|
196 /*********************************/ | 196 /*********************************/ |
197 | 197 |
198 ngx_log_t *ngx_log_init(void); | 198 ngx_log_t *ngx_log_init(void); |
199 ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_str_t *name); | 199 ngx_log_t *ngx_log_create_errlog(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_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log); |
201 void ngx_log_abort(ngx_err_t err, const char *text, void *param); | 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 | 203 |
204 | 204 |
205 extern ngx_module_t ngx_errlog_module; | 205 extern ngx_module_t ngx_errlog_module; |
206 extern ngx_uint_t ngx_use_stderr; | 206 extern ngx_uint_t ngx_use_stderr; |