Event Dispatcher (harp.event_dispatcher)¶
- class LoggingAsyncEventDispatcher[source]¶
Bases:
AsyncEventDispatcher
Adds logging to AsyncEventDispatcher, should probably go into whistle 2.x (with a bit of reengineering).
todo: pass logger or logger name to constructor, choose logging level todo: add check for non-coroutines listeners which is wrong but leads to an undecypherable error message