aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-23 11:13:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-23 11:13:12 +0000
commitc28ff717cb27e01cc40bdaebdd2c3826c0a7707d (patch)
treef0cfcf4aac2d0fb1226b4305a90916998008436b /src/core/ngx_log.h
parentae2f2b105ad8e56eea73720a094961cc9e665f3d (diff)
downloadnginx-c28ff717cb27e01cc40bdaebdd2c3826c0a7707d.tar.gz
nginx-c28ff717cb27e01cc40bdaebdd2c3826c0a7707d.zip
issue start up errors and warning on both stderr and error_log
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r--src/core/ngx_log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 53136d133..5168cd8e9 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -199,10 +199,11 @@ ngx_log_t *ngx_log_init(void);
ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log);
void ngx_log_abort(ngx_err_t err, const char *text, void *param);
-void ngx_cdecl ngx_log_stderr(const char *fmt, ...);
+void ngx_cdecl ngx_log_stderr(ngx_err_t err, const char *fmt, ...);
extern ngx_module_t ngx_errlog_module;
+extern ngx_uint_t ngx_use_stderr;
#endif /* _NGX_LOG_H_INCLUDED_ */