def log(line, append=True):
with open(<EOL>os.path.join(os.environ["<STR_LIT>"], "<STR_LIT>"), "<STR_LIT:a>" if append else "<STR_LIT:w>"<EOL>) as fobj:<EOL><INDENT>fobj.write("<STR_LIT>".format(line))<EOL><DEDENT>
Debug xdist.