Write.Lua is a small logging library to make outputting different levels of messages in your Lua scripts easier. I'd suggest dropping this in the Lua\lib directory as a standard, but you can use it from anywhere.
It includes the ability to prefix messages with anything you want (like your script name) and output levels for Debug, Error, Warning, Info that can be toggled (and only show when you're at or above that logging level).
Further readme is here: https://gitlab.com/Knightly1/knightlinc
It includes the ability to prefix messages with anything you want (like your script name) and output levels for Debug, Error, Warning, Info that can be toggled (and only show when you're at or above that logging level).
Further readme is here: https://gitlab.com/Knightly1/knightlinc
- Source Repository
- https://gitlab.com/Knightly1/knightlinc
- [git] Automation options?
- Yes