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

Nov 27, 2018
567498d · Nov 27, 2018

History

23 Commits
Sep 10, 2018
Nov 27, 2018
Sep 10, 2018
Sep 10, 2018
Mar 10, 2017
Mar 10, 2017
Sep 10, 2018
Sep 10, 2018

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