public class ToMultiple extends LoggingDestination
Constructor and Description |
---|
ToMultiple() |
ToMultiple(LoggingDestination first,
LoggingDestination second)
Constructs a logger to two locations
|
Modifier and Type | Method and Description |
---|---|
StatefulMessageLogger |
create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination
|
List<LoggingDestination> |
getList()
The list of loggers to log to
|
void |
setList(List<LoggingDestination> list)
The list of loggers to log to
|
createWithConsoleFallback, createWithLogFallback
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ToMultiple(LoggingDestination first, LoggingDestination second)
first
- first-locationsecond
- second-locationpublic ToMultiple()
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 List<LoggingDestination> getList()
public void setList(List<LoggingDestination> list)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.