public abstract class LoggingDestination extends AnchorBean<LoggingDestination>
Constructor and Description |
---|
LoggingDestination() |
Modifier and Type | Method and Description |
---|---|
abstract StatefulMessageLogger |
create(OutputterChecked outputter,
ErrorReporter fallbackErrorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination
|
StatefulMessageLogger |
createWithConsoleFallback(OutputterChecked outputter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination - and if anything goes wrong reporting fallback into
the console.
|
StatefulMessageLogger |
createWithLogFallback(OutputterChecked outputter,
MessageLogger fallbackErrorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination - and if anything goes wrong reporting fallback into a
log.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public StatefulMessageLogger createWithConsoleFallback(OutputterChecked outputter, ExecutionArguments arguments, boolean detailedLogging)
Identical to createWithLogFallback(org.anchoranalysis.io.output.outputter.OutputterChecked, org.anchoranalysis.core.log.MessageLogger, org.anchoranalysis.experiment.arguments.ExecutionArguments, boolean)
but uses a ConsoleMessageLogger
as the fallbackErrorReporter
.
outputter
- the output-managerarguments
- experiment-argumentsdetailedLogging
- whether detailed logging should occur in this reporter, or a less
detailed versionpublic StatefulMessageLogger createWithLogFallback(OutputterChecked outputter, MessageLogger fallbackErrorReporter, ExecutionArguments arguments, boolean detailedLogging)
outputter
- the output-managerfallbackErrorReporter
- 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 versionpublic abstract StatefulMessageLogger create(OutputterChecked outputter, ErrorReporter fallbackErrorReporter, ExecutionArguments arguments, boolean detailedLogging)
outputter
- the output-managerfallbackErrorReporter
- 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 versionCopyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.