def _write_to_log(self, output):
with open(self.log_file, '<STR_LIT:a>') as log_file:<EOL><INDENT>log_file.write('<STR_LIT:\n>')<EOL>log_file.write(output)<EOL>log_file.write('<STR_LIT:\n>')<EOL><DEDENT>
Write the output string to the log file.