Skip to content

Commit 3464a7d

Browse files
committed
add time machine
1 parent 32a7a3c commit 3464a7d

File tree

9 files changed

+480
-11
lines changed

9 files changed

+480
-11
lines changed

WeakAuras/Features.lua

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
if not WeakAuras.IsLibsOK() then return end
22

3-
---@type string, Private
4-
local addon, Private = ...
3+
---@type string
4+
local addon = ...
5+
---@class Private
6+
local Private = select(2, ...)
57

68
---@alias BuildType "dev" | "pr" | "alpha" | "beta" | "release"
79

@@ -163,3 +165,8 @@ Features:Register({
163165
id = "debug",
164166
autoEnable = {"dev"}
165167
})
168+
169+
Private.DebugPrint = Features:Wrap("debug", function(...)
170+
print("|cff00d3ffWeakAuras-Debug:|r ", ...)
171+
end)
172+

0 commit comments

Comments
 (0)