log.lua icon indicating copy to clipboard operation
log.lua copied to clipboard

A tiny logging module for Lua

Results 5 log.lua issues
Sort by recently updated
recently updated
newest added

i love the simplicity of this lib; i just wish i could `luarocks install log` or similar instead of having to `git submodule add https://github.com/rxi/log.lua.git log/`

Add ability to log messages in JSON format (as accepted by log aggregation platforms).

Nice wee module! I've learned a lot from it. Many thanks. Some minor changes you could make: - if you change function spec of log.level from ` log[x.name] = function(...)`...

It would be very nice to be able to use multiple logs. If named, even better.

Implemented log flusing: it stores logs and writes to logfile on demand. This helps performance because file operations are locking. At cost of memory. Using `love.filesystem` if exist instead `io`....