Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 374 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 374 Bytes

lua-resty-logger

custome Logger class for ngx_lua/OpenResty

Thanks for dcshi / lua-resty-Logger

How to use?

local logger = require( "resty.logger" )

local log = logger:new('debug', '/tmp/logfile.log' )

log:info( 'I am info' )

log:debug( 'I am debug' )

log:error( "I am error' )

Author

Yan "kedyyan" Chenguang(闫晨光) [email protected]