Files
simple-makes-complex/mods/API/Logger/init.lua
2025-11-24 21:48:56 +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