org.gudy.azureus2.core3.logging.impl
Class FileLogging

java.lang.Object
  extended by 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

Field Summary
static String BAK_FILE_NAME
           
static LogIDs[] configurableLOGIDs
           
static String LOG_FILE_NAME
           
 
Constructor Summary
FileLogging()
           
 
Method Summary
 void addListener(FileLoggingAdapter listener)
           
 List getListeners()
           
 void initialize()
           
 void log(LogEvent event)
          A LogEvent has been generated.
protected  void reloadLogToFileParam()
           
 void removeListener(FileLoggingAdapter listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FileLogging

public FileLogging()
Method Detail

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()