Logger: create logger mod, add base infoLog() method

This commit is contained in:
Van
2025-11-24 20:50:00 +03:00
parent 414668e273
commit 83695071d2
2 changed files with 10 additions and 0 deletions

9
mods/API/Logger/init.lua Normal file
View File

@@ -0,0 +1,9 @@
Logger = {}
---@param text string
---@param ... any
function Logger.infoLog(text, ...)
text = core.colorize('#00BFFF', '[SMC] '..text:format(...))
core.log('info', text)
end