comparison src/core/ngx_log.h @ 307:ce375c313e96

nginx-0.0.3-2004-04-08-19:58:25 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Apr 2004 15:58:25 +0000
parents 0ba4821f4460
children 73688d5d7fc3
comparison
equal deleted inserted replaced
306:6b91bfbc4123 307:ce375c313e96
4 4
5 #include <ngx_config.h> 5 #include <ngx_config.h>
6 #include <ngx_core.h> 6 #include <ngx_core.h>
7 7
8 8
9 #define NGX_LOG_STDERR 0 9 #define NGX_LOG_STDERR 0
10 #define NGX_LOG_EMERG 1 10 #define NGX_LOG_EMERG 1
11 #define NGX_LOG_ALERT 2 11 #define NGX_LOG_ALERT 2
12 #define NGX_LOG_CRIT 3 12 #define NGX_LOG_CRIT 3
13 #define NGX_LOG_ERR 4 13 #define NGX_LOG_ERR 4
14 #define NGX_LOG_WARN 5 14 #define NGX_LOG_WARN 5
15 #define NGX_LOG_NOTICE 6 15 #define NGX_LOG_NOTICE 6
16 #define NGX_LOG_INFO 7 16 #define NGX_LOG_INFO 7
17 #define NGX_LOG_DEBUG 8 17 #define NGX_LOG_DEBUG 8
18 18
19 #define NGX_LOG_DEBUG_CORE 0x10 19 #define NGX_LOG_DEBUG_CORE 0x10
20 #define NGX_LOG_DEBUG_ALLOC 0x20 20 #define NGX_LOG_DEBUG_ALLOC 0x20
21 #define NGX_LOG_DEBUG_EVENT 0x40 21 #define NGX_LOG_DEBUG_EVENT 0x40
22 #define NGX_LOG_DEBUG_HTTP 0x80 22 #define NGX_LOG_DEBUG_HTTP 0x80
23 23
24 #define NGX_LOG_DEBUG_FIRST NGX_LOG_DEBUG_CORE 24 #define NGX_LOG_DEBUG_FIRST NGX_LOG_DEBUG_CORE
25 #define NGX_LOG_DEBUG_LAST NGX_LOG_DEBUG_HTTP 25 #define NGX_LOG_DEBUG_LAST NGX_LOG_DEBUG_HTTP
26 #define NGX_LOG_DEBUG_ALL 0xfffffff0 26 #define NGX_LOG_DEBUG_CONNECTION 0x80000000
27 #define NGX_LOG_DEBUG_ALL 0x7ffffff0
27 28
28 29
29 /* 30 /*
30 "[%time] [%level] %pid#%tid: %message:(%errno)%errstr, while %action" 31 "[%time] [%level] %pid#%tid: %message:(%errno)%errstr, while %action"
31 " %peer and while processing %context" 32 " %peer and while processing %context"