org.apache.log.output.io.rotate
public interface RotateStrategy
Method Summary | |
---|---|
boolean | isRotationNeeded(String data, File file)
Check if a log rotation is neccessary at this time.
|
void | reset()
Reset cumulative rotation history data.
|
Parameters: data the serialized version of the message about to be written to the log system file the File that we are writing to
Returns: boolean return true if log rotation is neccessary, else false