Files
simple-makes-complex/mods/SYSTEM/Logger/init.lua
2026-01-14 15:14:38 +03:00

17 lines
355 B
Lua

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