forked from Apancore.Studio/simple-makes-complex
Logger: add warningLog()
This commit is contained in:
@@ -7,3 +7,11 @@ function Logger.infoLog(text, ...)
|
|||||||
|
|
||||||
core.log('info', text)
|
core.log('info', text)
|
||||||
end
|
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