A decorator that allows to change the trace emitter.
        By default Python logging is used to emit the trace data.

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