public class OnlyIf extends LoggingDestination
Constructor and Description |
---|
OnlyIf() |
Modifier and Type | Method and Description |
---|---|
StatefulMessageLogger |
create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination
|
LoggingDestination |
getLog()
The logger to use if conditions are fulfilled
|
RequireArguments |
getRequireArguments()
The conditions that must be fulfilled
|
void |
setLog(LoggingDestination log)
The logger to use if conditions are fulfilled
|
void |
setRequireArguments(RequireArguments requireArguments)
The conditions that must be fulfilled
|
createWithConsoleFallback, createWithLogFallback
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public StatefulMessageLogger create(OutputterChecked outputter, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging)
LoggingDestination
create
in class LoggingDestination
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 versionpublic LoggingDestination getLog()
public void setLog(LoggingDestination log)
public RequireArguments getRequireArguments()
public void setRequireArguments(RequireArguments requireArguments)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.