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 } // 创建事件类型的实例