<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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