Class ToTextFile
Object
org.anchoranalysis.bean.AnchorBean<LoggingDestination>
org.anchoranalysis.experiment.bean.log.LoggingDestination
org.anchoranalysis.experiment.bean.log.ToTextFileBase
org.anchoranalysis.experiment.bean.log.ToTextFile
public class ToTextFile extends ToTextFileBase
Logs to a text-file created in the output-directory under a particular name.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ToTextFile() -
Method Summary
Modifier and Type Method Description StatefulMessageLoggercreate(OutputterChecked bom, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging)Creates a logger for this destinationMethods inherited from class org.anchoranalysis.experiment.bean.log.ToTextFileBase
getOutputName, setOutputNameMethods inherited from class org.anchoranalysis.experiment.bean.log.LoggingDestination
createWithConsoleFallback, createWithLogFallbackMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ToTextFile
public ToTextFile()
-
-
Method Details
-
create
public StatefulMessageLogger create(OutputterChecked bom, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging)Description copied from class:LoggingDestinationCreates a logger for this destination- Specified by:
createin classLoggingDestination- Parameters:
bom- the output-managererrorReporter- where any errors are reported, when trying to create this log.arguments- experiment-argumentsdetailedLogging- whether detailed logging should occur in this reporter, or a less detailed version- Returns:
- a newly created log-reporter
-