public class SwitchDetailedLogging extends LoggingDestination
Constructor and Description |
---|
SwitchDetailedLogging() |
Modifier and Type | Method and Description |
---|---|
StatefulMessageLogger |
create(OutputterChecked bom,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination
|
LoggingDestination |
getWhenDetailed()
Logger to use when detailed-logging is on
|
LoggingDestination |
getWhenNot()
Logger to use when detailed-logging is off
|
void |
setWhenDetailed(LoggingDestination whenDetailed)
Logger to use when detailed-logging is on
|
void |
setWhenNot(LoggingDestination whenNot)
Logger to use when detailed-logging is off
|
createWithConsoleFallback, createWithLogFallback
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public StatefulMessageLogger create(OutputterChecked bom, ErrorReporter errorReporter, ExecutionArguments arguments, boolean detailedLogging)
LoggingDestination
create
in class LoggingDestination
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 versionpublic LoggingDestination getWhenDetailed()
public void setWhenDetailed(LoggingDestination whenDetailed)
public LoggingDestination getWhenNot()
public void setWhenNot(LoggingDestination whenNot)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.