Logger: add warningLog()

This commit is contained in:
Van
2025-11-24 21:48:56 +03:00
parent 41c9933144
commit 38479959b8

View File

@@ -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