class FileLogWriter extends LogWriter
_manager, _write, FLUSH_INTERVAL| コンストラクタ | 説明 |
|---|---|
FileLogWriter(LogManager manager) |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
protected void |
closeWriter() |
|
java.lang.String |
currentFile() |
File may not exist or have old logs in it if not opened yet
|
protected void |
flushWriter() |
|
protected void |
writeRecord(int priority,
java.lang.String val) |
Write a single String verbatim to the writer.
|
protected void |
writeRecord(LogRecord rec,
java.lang.String formatted) |
Write the provided LogRecord to the writer.
|
flushRecords, flushRecords, run, setFlushInterval, stopWritingpublic FileLogWriter(LogManager manager)
public java.lang.String currentFile()
currentFile クラス内 LogWriterprotected void writeRecord(LogRecord rec, java.lang.String formatted)
LogWriterwriteRecord クラス内 LogWriterrec - the LogRecord to write.formatted - a String pre-formatted from rec, may be ignored.protected void writeRecord(int priority,
java.lang.String val)
LogWriterwriteRecord クラス内 LogWriterpriority - the level to log the line at.val - the String to write.protected void flushWriter()
flushWriter クラス内 LogWriterprotected void closeWriter()
closeWriter クラス内 LogWriter