MDK 2.2.0 released
https://github.com/demonnic/MDK/releases/tag/v2.2.0Adds the Loginator, which provides an easy mechanism for writing html or text logs for your scripts. Only writes logs of a specific severity or higher to disk.
https://github.com/demonnic/MDK/wiki/Loginator for more info
Fixes a bug in the loggingconsole where replaying html logs would sometimes include pieces of the header if there were less actual lines logged than requested
Fixes a bug in SUG (Self Updating Gauges) where the 2nd and subsequent SUGs would be automatically disabled due to me accidentally putting SUG: where I meant self: .
loginator sample
Created in code via
local loginator = require("MDK.loginator")
local log = loginator:new({
name = "ExampleLogger",
level = "debug",
})
log:error("Something is seriously broken!")
log:warn("Things are minorly borked")\
log:info("You might want to know this")
log:debug("Oh god you're digging deep aren't you?!")