Class ToConsole
Logs messages to the console.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(OutputterChecked outputter, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging) Creates a logger for this destinationMethods inherited from class org.anchoranalysis.experiment.bean.log.LoggingDestination
createWithConsoleFallback, createWithLogFallback
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ToConsole
public ToConsole()
-
-
Method Details
-
create
public StatefulMessageLogger create(OutputterChecked outputter, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging) Description copied from class:LoggingDestination
Creates a logger for this destination- Specified by:
create
in classLoggingDestination
- Parameters:
outputter
- 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
-