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?IOException
RollingLogs.Appender appender()
boolean roll() throws IOException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.