From faba2268cf51785ea05923df492e631a301b59f4 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Fri, 1 Sep 2023 09:21:22 +0800 Subject: [PATCH] EventsDebugEnable --- events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/events.go b/events.go index 6d4e220..c367997 100644 --- a/events.go +++ b/events.go @@ -25,9 +25,9 @@ type ( ManageEventFunc func() ) -func init() { - //开启事件处理调试 - events.Debug = false +// 开启底层事件处理调试 +func EventsDebugEnable() { + events.Debug = true } // 创建事件类型的实例