Added debug print func

This commit is contained in:
ZioPao
2023-11-12 05:58:45 +01:00
parent 3d963a2ad6
commit 52a4798377
7 changed files with 16 additions and 8 deletions

View File

@@ -4,4 +4,12 @@ TOC_DEBUG.disablePaneMod = false
function TOC_DEBUG.togglePaneMod()
TOC_DEBUG.disablePaneMod = not TOC_DEBUG.disablePaneMod
end
---comment
---@param string string
function TOC_DEBUG.print(string)
if isDebugEnabled() then
print("TOC: " .. string)
end
end