From 1c10462e88491d52a23e22fbc3ca0012591df095 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 3 Jun 2003 15:42:58 +0000 Subject: nginx-0.0.1-2003-06-03-19:42:58 import --- src/core/ngx_log.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/core/ngx_log.h') diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h index b549d80d9..d1d382c45 100644 --- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -2,8 +2,9 @@ #define _NGX_LOG_H_INCLUDED_ -#include -#include +#include +#include + typedef enum { NGX_LOG_STDERR = 0, @@ -160,4 +161,11 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...); #endif /* VARIADIC MACROS */ +ngx_log_t *ngx_log_init_errlog(); +char *ngx_log_set_errlog(ngx_conf_t *cf, ngx_command_t *cmd, ngx_log_t *log); + + +extern ngx_module_t ngx_errlog_module; + + #endif /* _NGX_LOG_H_INCLUDED_ */ -- cgit