Files
andrew6180 1e9fa2aaca init
2023-04-16 00:31:14 -07:00

16 lines
467 B
Lua

setfenv(1, VoiceOver)
Debug = {}
function Debug:Print(msg, header)
if Addon.db.profile.DebugEnabled then
if header then
print(Utils:ColorizeText("VoiceOver", NORMAL_FONT_COLOR_CODE) ..
Utils:ColorizeText(" (" .. header .. ")", GRAY_FONT_COLOR_CODE) ..
" - " .. msg)
else
print(Utils:ColorizeText("VoiceOver", NORMAL_FONT_COLOR_CODE) ..
" - " .. msg)
end
end
end