Module Debug

Debug module for RanothUtils.

Functions

Toggle () Toggle debug mode on or off.

Fields

Print Print a message to the chat frame with the colorized addon's name prepended.
CombatLogUnitName Print the event and the name of the unit that triggered the event.
CombatLogGetUnitFlags Print the event, the name of the unit that triggered the event, and the unit's GUID.


Functions

Toggle ()
Toggle debug mode on or off.

Fields

Print
Print a message to the chat frame with the colorized addon's name prepended.
  • ... any | string | table

Usage:

    `Debug:Print("Hello, world!")`
CombatLogUnitName
Print the event and the name of the unit that triggered the event.
  • event string
  • unit string

Usage:

    `Debug:CombatLogUnitName("UNIT_NAME_UPDATE", "player")`
CombatLogGetUnitFlags
Print the event, the name of the unit that triggered the event, and the unit's GUID.
  • subevent string
  • destName string
  • destFlags number

Usage:

    `Debug:CombatLogGetUnitFlags(subevent, destName, destFlags)`
generated by LDoc 1.5.0 Last updated 2024-09-08 12:01:35