Mercurial > hg > nginx
comparison src/core/ngx_log.h @ 100:7ebc8b7fb816
nginx-0.0.1-2003-06-03-19:42:58 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Jun 2003 15:42:58 +0000 |
parents | 19cc647ecd91 |
children | 00bee6e7b485 |
comparison
equal
deleted
inserted
replaced
99:a059e1aa65d4 | 100:7ebc8b7fb816 |
---|---|
1 #ifndef _NGX_LOG_H_INCLUDED_ | 1 #ifndef _NGX_LOG_H_INCLUDED_ |
2 #define _NGX_LOG_H_INCLUDED_ | 2 #define _NGX_LOG_H_INCLUDED_ |
3 | 3 |
4 | 4 |
5 #include <ngx_types.h> | 5 #include <ngx_config.h> |
6 #include <ngx_errno.h> | 6 #include <ngx_core.h> |
7 | |
7 | 8 |
8 typedef enum { | 9 typedef enum { |
9 NGX_LOG_STDERR = 0, | 10 NGX_LOG_STDERR = 0, |
10 NGX_LOG_EMERG, | 11 NGX_LOG_EMERG, |
11 NGX_LOG_ALERT, | 12 NGX_LOG_ALERT, |
158 | 159 |
159 | 160 |
160 #endif /* VARIADIC MACROS */ | 161 #endif /* VARIADIC MACROS */ |
161 | 162 |
162 | 163 |
164 ngx_log_t *ngx_log_init_errlog(); | |
165 char *ngx_log_set_errlog(ngx_conf_t *cf, ngx_command_t *cmd, ngx_log_t *log); | |
166 | |
167 | |
168 extern ngx_module_t ngx_errlog_module; | |
169 | |
170 | |
163 #endif /* _NGX_LOG_H_INCLUDED_ */ | 171 #endif /* _NGX_LOG_H_INCLUDED_ */ |