intelisense stuff

This commit is contained in:
MrNewb committed 2025-04-08 19:10:02 -04:00
1 parent e5190cdca0
commit 29d75163a9
13 files changed
+156 -23

No files matched your search

+9
View File
@@ -6,18 +6,27 @@ local function printMessage(level, color, message)
print(color .. '[' .. level .. ']:', message)
end
---This will print a colored message to the console with the designated prefix.
---@param message string
Prints.Info = function(message)
printMessage('INFO', '^5', message)
end
---This will print a colored message to the console with the designated prefix.
---@param message string
Prints.Warn = function(message)
printMessage('WARN', '^3', message)
end
---This will print a colored message to the console with the designated prefix.
---@param message string
Prints.Error = function(message)
printMessage('ERROR', '^1', message)
end
---This will print a colored message to the console with the designated prefix.
---@param message string
Prints.Debug = function(message)
printMessage('DEBUG', '^2', message)
end