org.apache.log.output.io.rotate
public interface RotateStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
isRotationNeeded(String data,
File file)
Check if a log rotation is neccessary at this time.
|
void |
reset()
Reset cumulative rotation history data.
|
void reset()
boolean isRotationNeeded(String data, File file)
data
- the serialized version of the message about to be written
to the log systemfile
- the File that we are writing toCopyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.