public class RollingIOLog extends BaseIOLog
Modifier and Type | Field and Description |
---|---|
protected int |
currentFileNumber |
protected int |
fileSize |
protected int |
maxFiles |
Constructor and Description |
---|
RollingIOLog(java.lang.String baseFilename,
java.io.File logDirectory,
int fileSize,
int maxFiles) |
Modifier and Type | Method and Description |
---|---|
protected void |
sizeCheck()
Check the size of the logfile and perform adjustments
as necessary
|
protected int fileSize
protected int maxFiles
protected int currentFileNumber
public RollingIOLog(java.lang.String baseFilename, java.io.File logDirectory, int fileSize, int maxFiles)
baseFilename
- - The base filename for all logfiles ie. dataLog.loglogDirectory
- fileSize
- - in bytes of file before rolling overmaxFiles
- - max number to keep in addition to the current log fileCopyright © 2014 Infinite Automation Systems. All Rights Reserved.