Log events triggering
This commit is contained in:
parent
8b73c2bcff
commit
01356d23e5
@ -1130,6 +1130,8 @@ class XMLStream(object):
|
|||||||
event queue. All event handlers will run in the
|
event queue. All event handlers will run in the
|
||||||
same thread.
|
same thread.
|
||||||
"""
|
"""
|
||||||
|
log.debug("Event triggered: " + name)
|
||||||
|
|
||||||
handlers = self.__event_handlers.get(name, [])
|
handlers = self.__event_handlers.get(name, [])
|
||||||
for handler in handlers:
|
for handler in handlers:
|
||||||
#TODO: Data should not be copied, but should be read only,
|
#TODO: Data should not be copied, but should be read only,
|
||||||
|
Loading…
Reference in New Issue
Block a user