code: def trace_emit(self):
          
          def decorator(f):
              self.tracer.emitter = f
              return f
          return decorator
docs: A decorator that allows to change the trace emitter.
          By default Python logging is used to emit the trace data.