public interface RollingLogs
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RollingLogs.Appender
To append text to the logs.
|
static interface |
RollingLogs.LineIterator
To iterate the lines of the logs.
|
| Modifier and Type | Method and Description |
|---|---|
RollingLogs.Appender |
appender() |
RollingLogs.LineIterator |
iterator(boolean skipPrevious)
Create an iterator to iterate the lines in the logs.
|
boolean |
roll()
Roll current to previous.
|
RollingLogs.LineIterator iterator(boolean skipPrevious) throws IOException
skipPrevious - Should it skip reading the previous log?IOExceptionRollingLogs.Appender appender()
boolean roll() throws IOException
IOExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.