Skip to content

A logging library for lua, meanwhile sending logs to kafka cluster.

Notifications You must be signed in to change notification settings

sevennt/lua-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua log module

Description

lua-log is a log library based on openresty, it will write log on local file and send log message to kafka server.

Quick Start

# add follow config into your nginx configuration file
log_by_lua_file {
    log.write();
}
local logger = log.new()
log.info("this is an log message")

TODO

Add unit test.

About

A logging library for lua, meanwhile sending logs to kafka cluster.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages