kitr/logger
v0.0.1 ·
A quite useful logger module for most of your needs; contains a really simple API that is very easy to understand and use. it provides a better logging experience instead of just print("Hello world!")
kitr/logger
A lightweight, configurable logger for Luau on Lune.
Installation
pesde add kitr/logger
Usage
local Logger = require("kitr/logger")
local log = Logger.new({
name = "Example",
level = "debug",
colors = true,
})
log:info("Hello, world!")
log:warn("This is a warning")
log:error("Something went wrong")
See examples for more detailed usage.
API Reference
Full API documentation is available in the wiki. By the way; this project is compatible with Zune too!
Testing
lune run tests/iguessbro.luau
License
TODO:
- Add proper settings
- Listen for actual feedback