Mercurial > hg > nginx
comparison src/core/ngx_log.h @ 2743:d8316f307b6a
issue start up errors and warning on both stderr and error_log
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 23 Apr 2009 11:13:12 +0000 |
parents | ffa8e2451457 |
children | ccaf43725ff6 |
comparison
equal
deleted
inserted
replaced
2742:e138f820b5dc | 2743:d8316f307b6a |
---|---|
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_array_t *args); | 199 ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args); |
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_log_abort(ngx_err_t err, const char *text, void *param); |
202 void ngx_cdecl ngx_log_stderr(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 | 207 |
207 | 208 |
208 #endif /* _NGX_LOG_H_INCLUDED_ */ | 209 #endif /* _NGX_LOG_H_INCLUDED_ */ |