_manager, _write, FLUSH_INTERVAL| Constructor and Description |
|---|
FileLogWriter(LogManager manager)FileLogWriter. |
| Modifier and Type | Method and Description |
|---|---|
protected void | closeWriter()Close the writer |
String | currentFile()File may not exist or have old logs in it if not opened yet |
protected void | flushWriter()Flush the writer output |
protected void | writeRecord(int priority,
String val)writeRecord. |
protected void | writeRecord(LogRecord rec,
String formatted)writeRecord. |
flushRecords, flushRecords, run, setFlushInterval, stopWriting, wakeuppublic FileLogWriter(LogManager manager)
protected void closeWriter()
LogWritercloseWriter in class LogWriterpublic String currentFile()
currentFile in class LogWriterprotected void flushWriter()
LogWriterflushWriter in class LogWriterprotected void writeRecord(int priority,
String val)writeRecord in class LogWriterpriority - the level to log the line at.val - the String to write.protected void writeRecord(LogRecord rec, String formatted)
writeRecord in class LogWriterrec - the LogRecord to write.formatted - a String pre-formatted from rec, may be ignored.