Skip to content
custome Logger class for ngx_lua/OpenResty
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/resty
README.md

README.md

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(闫晨光) kedyyan@gmail.com

You can’t perform that action at this time.