diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-11-20 08:51:45 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-20 08:51:45 +0000 |
commit | 67cd336d88f8a920ea5921936785a1c1553062fb (patch) | |
tree | f76934379e98e22854638a4ddc44b022deefd265 /src/core/ngx_log.c | |
parent | cae66582d5e6137d3b53552fcb84520a042841ca (diff) | |
download | nginx-67cd336d88f8a920ea5921936785a1c1553062fb.tar.gz nginx-67cd336d88f8a920ea5921936785a1c1553062fb.zip |
slab allocator in shared memory
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 21d59780f..ea4e7f2f4 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -190,6 +190,13 @@ ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...) #endif +void +ngx_log_abort(ngx_err_t err, const char *text) +{ + ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text); +} + + ngx_log_t * ngx_log_init(void) { |