forked from Apancore.Studio/simple-makes-complex
17 lines
355 B
Lua
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 |