custome Logger class for ngx_lua/OpenResty