Mercurial > hg > nginx
diff src/core/ngx_log.h @ 6186:db138b3b645e
Core: added support for writing to stdout.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 16 Jun 2015 15:47:40 +0300 |
parents | e034af368274 |
children | 4b420f9c4c5d |
line wrap: on
line diff
--- a/src/core/ngx_log.h Tue Jun 16 13:45:19 2015 +0300 +++ b/src/core/ngx_log.h Tue Jun 16 15:47:40 2015 +0300 @@ -255,6 +255,13 @@ } +static ngx_inline void +ngx_write_stdout(char *text) +{ + (void) ngx_write_fd(ngx_stdout, text, ngx_strlen(text)); +} + + extern ngx_module_t ngx_errlog_module; extern ngx_uint_t ngx_use_stderr;