net.i2p.util
Class LogWriter
java.lang.Object
net.i2p.util.LogWriter
- All Implemented Interfaces:
- java.lang.Runnable
class LogWriter
- extends java.lang.Object
- implements java.lang.Runnable
Log writer thread that pulls log records from the LogManager, writes them to
the current logfile, and rotates the logs as necessary. This also periodically
instructs the LogManager to reread its config file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogWriter
public LogWriter(LogManager manager)
stopWriting
public void stopWriting()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
flushRecords
public void flushRecords()
flushRecords
public void flushRecords(boolean shouldWait)