public class FileLog
extends java.lang.Object
Constructor and Description |
---|
FileLog(java.lang.String logPath,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
emptyLog() |
void |
forceWriteln(java.lang.String line) |
java.lang.String |
getLogPath() |
long |
getMaxSize() |
long |
getSize() |
void |
setLog(boolean mode) |
void |
setMaxSize(long maxSize) |
void |
write(java.lang.String msg) |
void |
writeln(java.lang.String line) |
public java.lang.String getLogPath()
public long getMaxSize()
public void setMaxSize(long maxSize)
public long getSize()
public void setLog(boolean mode)
public void writeln(java.lang.String line)
public void write(java.lang.String msg)
public void emptyLog()
public void forceWriteln(java.lang.String line)