forked from Apancore.Studio/simple-makes-complex
Logger: add warningLog()
This commit is contained in:
@@ -6,4 +6,12 @@ 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
|
||||
Reference in New Issue
Block a user