diff options
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r-- | src/core/ngx_log.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 <ngx_types.h> -#include <ngx_errno.h> +#include <ngx_config.h> +#include <ngx_core.h> + 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_ */ |