<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def do_output(self, *args):
 """Pass a command directly to the current output processor """

        if args:
            action, params = args[0], args[1:]
            log.debug("Pass %s directly to output with %s", action, params)
            function = getattr(self.output, "do_" + action, None)
            if function:
                function(*params)