Mercurial > hg > nginx
comparison src/core/ngx_log.c @ 860:201d017ea470
slab allocator in shared memory
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 20 Nov 2006 08:51:45 +0000 |
parents | 715d24327080 |
children | 1ce231663322 |
comparison
equal
deleted
inserted
replaced
859:d1e8c59a50ee | 860:201d017ea470 |
---|---|
188 } | 188 } |
189 | 189 |
190 #endif | 190 #endif |
191 | 191 |
192 | 192 |
193 void | |
194 ngx_log_abort(ngx_err_t err, const char *text) | |
195 { | |
196 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text); | |
197 } | |
198 | |
199 | |
193 ngx_log_t * | 200 ngx_log_t * |
194 ngx_log_init(void) | 201 ngx_log_init(void) |
195 { | 202 { |
196 ngx_log.file = &ngx_stderr; | 203 ngx_log.file = &ngx_stderr; |
197 ngx_log.log_level = NGX_LOG_NOTICE; | 204 ngx_log.log_level = NGX_LOG_NOTICE; |