Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 802 Bytes

nginx-log-level-constants.md

File metadata and controls

41 lines (30 loc) · 802 Bytes

Nginx 日志级别常量

环境: set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua, log_by_lua**, ngx.timer.**

   ngx.STDERR
   ngx.EMERG
   ngx.ALERT
   ngx.CRIT
   ngx.ERR
   ngx.WARN
   ngx.NOTICE
   ngx.INFO
   ngx.DEBUG

这些常量一般用于 ngx.log 方法.

English Source

context: set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua, log_by_lua**, ngx.timer.**

   ngx.STDERR
   ngx.EMERG
   ngx.ALERT
   ngx.CRIT
   ngx.ERR
   ngx.WARN
   ngx.NOTICE
   ngx.INFO
   ngx.DEBUG

These constants are usually used by the ngx.log method.

返回目录