org.gudy.azureus2.core3.logging.impl
Class FileLogging
java.lang.Object
org.gudy.azureus2.core3.logging.impl.FileLogging
- All Implemented Interfaces:
- ILogEventListener
public class FileLogging
- extends Object
- implements ILogEventListener
Log events to a file.
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_FILE_NAME
public static final String LOG_FILE_NAME
- See Also:
- Constant Field Values
BAK_FILE_NAME
public static final String BAK_FILE_NAME
- See Also:
- Constant Field Values
configurableLOGIDs
public static final LogIDs[] configurableLOGIDs
FileLogging
public FileLogging()
initialize
public void initialize()
reloadLogToFileParam
protected void reloadLogToFileParam()
log
public void log(LogEvent event)
- Description copied from interface:
ILogEventListener
- A LogEvent has been generated.
- Specified by:
log
in interface ILogEventListener
- Parameters:
event
- The newly generated LogEvent
addListener
public void addListener(FileLoggingAdapter listener)
removeListener
public void removeListener(FileLoggingAdapter listener)
getListeners
public List getListeners()