Log given CompletedProcess and return exit status code.

def log(self, output, exit_status):
        """Log given CompletedProcess and return exit status code."""
        if exit_status != 0:
            self.logger.error(f'Error running command! Exit status: {exit_status}, {output}')

        return exit_status