aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-12-08 20:48:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-12-08 20:48:12 +0000
commit5f80078c675bc344d12a6a64d97ecafb64de224b (patch)
treee4ff5330121ef71ffe558ccaa9210218802ff537 /src/core/ngx_log.h
parent62260f2a158e27e5f6b1689e10dc25ea3c617473 (diff)
downloadnginx-5f80078c675bc344d12a6a64d97ecafb64de224b.tar.gz
nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.zip
nginx-0.0.1-2003-12-08-23:48:12 import
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r--src/core/ngx_log.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 59ca1f9c4..71da9d524 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -16,7 +16,13 @@
#define NGX_LOG_INFO 7
#define NGX_LOG_DEBUG 8
-#define NGX_LOG_DEBUG_HTTP 0x80
+#define NGX_LOG_DEBUG_ALLOC 0x10
+#define NGX_LOG_DEBUG_EVENT 0x20
+#define NGX_LOG_DEBUG_HTTP 0x40
+
+#define NGX_LOG_DEBUG_FIRST NGX_LOG_DEBUG
+#define NGX_LOG_DEBUG_LAST NGX_LOG_DEBUG_HTTP
+#define NGX_LOG_DEBUG_ALL 0xfffffff8
/*
@@ -212,7 +218,7 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
#define ngx_log_copy_log(new, old) ngx_memcpy(new, old, sizeof(ngx_log_t))
ngx_log_t *ngx_log_init_errlog();
-ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_str_t *name);
+ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args);
extern ngx_module_t ngx_errlog_module;