A Consumer that tags the data stream with the event and
prints it to a handle. Useful for debugging.
Methods
|
|
__getattr__
__init__
_print_name
unhandled
unhandled_section
|
|
__getattr__
|
__getattr__ ( self, attr )
|
|
__init__
|
__init__ (
self,
handle=None,
colwidth=15,
maxwidth=80,
)
TaggingConsumer(handle=sys.stdout, colwidth=15, maxwidth=80)
|
|
_print_name
|
_print_name (
self,
name,
data=None,
)
|
|
unhandled
|
unhandled ( self, data )
|
|
unhandled_section
|
unhandled_section ( self )
|
|