Class ToTextFileOnlyIfFailure


public class ToTextFileOnlyIfFailure
extends ToTextFileBase
Logs to a text file like with ToTextFile but the log is ONLY written if a failure occurs in the experiment.

If no failure, occurs no file is outputted on the filesystem at all.

This is a convenient means of avoiding write and sotrage costs of files of perhaps minimal value if nothing went wrong.

Author:
Owen Feehan