Log events triggering

This commit is contained in:
Anton Ryzhov 2013-03-28 20:44:37 +04:00
parent 8b73c2bcff
commit 01356d23e5

View file

@ -1130,6 +1130,8 @@ class XMLStream(object):
event queue. All event handlers will run in the
same thread.
"""
log.debug("Event triggered: " + name)
handlers = self.__event_handlers.get(name, [])
for handler in handlers:
#TODO: Data should not be copied, but should be read only,