Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Global log level control #3

fidlej opened this Issue · 0 comments

1 participant


Is there a recommended way to set the log level globally?
For example, I want to control the verbosity of all lua modules.

A proposal:
Can the logroll module serve as a logger?
It would log to io.stderr.

Example usage:

local logroll = require 'logroll'
logroll.level = logroll.DEBUG
logroll.debug("hello %s", "world")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.