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")
generated by LDoc 1.5.0 Last updated 2024-05-13 19:05:24