def to_file(output_file):
    Logger._destinations.add(FileDestination(file=output_file))



# The default Logger, used when none is specified:
Add a destination that writes a JSON message per line to the given file.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/_output.py/to_file