[Fix]Close #569
This commit is contained in:
parent
fbc29c6b5a
commit
7ca9b8da1f
@ -340,6 +340,7 @@ class MainEngine(object):
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
def registerLogEvent(self, eventType):
|
def registerLogEvent(self, eventType):
|
||||||
"""注册日志事件监听"""
|
"""注册日志事件监听"""
|
||||||
|
if self.logEngine:
|
||||||
self.eventEngine.register(eventType, self.logEngine.processLogEvent)
|
self.eventEngine.register(eventType, self.logEngine.processLogEvent)
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user