Interface AggregatingFixtureLogger
-
- All Superinterfaces:
FixtureLogger
- All Known Implementing Classes:
DefaultFixtureLogger
public interface AggregatingFixtureLogger extends FixtureLogger
A sub-interface ofFixtureLogger
which aggregates the log messages and provides methods to retrieve them.- Author:
- Rene Schneider - initial API and implementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearLines()
Clears any lines currently stored in the logger.java.util.List<LogLine>
getLines()
Returns the currently aggregated log lines, but does NOT clear the buffer.
-
-
-
Method Detail
-
clearLines
void clearLines()
Clears any lines currently stored in the logger.
-
getLines
java.util.List<LogLine> getLines()
Returns the currently aggregated log lines, but does NOT clear the buffer. This method guarantees to return a finalized collection that will not be modified anymore by the aggregator.- Returns:
- the logged lines
-
-