public interface StatefulMessageLogger extends MessageLogger
MessageLogger
that can be started and stopped, and is aware of this state.Modifier and Type | Method and Description |
---|---|
void |
close(boolean successful,
boolean warningOccurred)
Stops logging.
|
void |
start()
Starts logging.
|
log, logEmptyLine, logFormatted
void start() throws OperationFailedException
This must be called once before any logging occurs.
OperationFailedException
- if logging cannot be successfully started.void close(boolean successful, boolean warningOccurred)
This must be called once after all logging has occurred.
successful
- true when the task completed successfully.warningOccurred
- true if at least one warning has occurred, false otherwise.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.