mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
add option for extra logging
This commit is contained in:
parent
bf0511af4d
commit
b21561a912
@ -19,5 +19,12 @@ else
|
||||
trigger.action.outText("DEBUG MODE OFF", 10)
|
||||
HOGGIT = {}
|
||||
HOGGIT.debug = false
|
||||
|
||||
if trigger.misc.getUserFlag(9999) == 2
|
||||
HOGGIT.debug_text = function(text, time)
|
||||
env.info("HOGGIT -- " .. text)
|
||||
end
|
||||
else
|
||||
HOGGIT.debug_text = function()end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user