File: ngx_http_lua_log.h

package info (click to toggle)
libnginx-mod-http-lua 1%3A0.10.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,616 kB
  • sloc: ansic: 43,854; perl: 480; sh: 410; python: 23; makefile: 11
file content (24 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

/*
 * Copyright (C) Xiaozhe Wang (chaoslawful)
 * Copyright (C) Yichun Zhang (agentzh)
 */


#ifndef _NGX_HTTP_LUA_LOG_H_INCLUDED_
#define _NGX_HTTP_LUA_LOG_H_INCLUDED_


#include "ngx_http_lua_common.h"


void ngx_http_lua_inject_log_api(lua_State *L);
#ifdef HAVE_INTERCEPT_ERROR_LOG_PATCH
ngx_int_t ngx_http_lua_capture_log_handler(ngx_log_t *log,
    ngx_uint_t level, u_char *buf, size_t n);
#endif


#endif /* _NGX_HTTP_LUA_LOG_H_INCLUDED_ */

/* vi:set ft=c ts=4 sw=4 et fdm=marker: */