def run(self, args): sys.stdout = _Stream(self._logger) Build.run(self, args) sys.stdout = sys.__stdout__
def __init__(self, *args, **kwargs): Build.__init__(self, *args, **kwargs) self._logger = logging.getLogger("b3")