Module cl_debug
Debug Module
Functions
| Print (addonName, ...) | Print function. |
| GetDebug (addonName) | GetDebug function. |
Functions
- Print (addonName, ...)
-
Print function.
This function prints a message to the console.
Parameters:
- addonName The addon name. string
- ... The message. string
Usage:
exports.jones_util:Print("addon", "Hello World!")
- GetDebug (addonName)
-
GetDebug function.
This function returns the debug status of an addon.
Parameters:
- addonName The addon name. string
Returns:
-
boolean
Usage:
local debug = exports.jones_util:GetDebug("addon")