FileDocCategorySizeDatePackage
Logger.javaAPI DocAzureus 3.0.3.42853Fri Mar 03 00:37:28 GMT 2006org.gudy.azureus2.plugins.logging

Logger

public interface Logger
Logging utilities class
since
2.0.7.0

Fields Summary
Constructors Summary
Methods Summary
public voidaddAlertListener(LoggerAlertListener listener)
Add LoggerAlertListener for all alerts raised

param
listener Listener to add
since
2.3.0.6

public voidaddFileLoggingListener(FileLoggerAdapter listener)

public LoggerChannelgetChannel(java.lang.String name)
Create a normal logging channel. Multiple calls to this method with the same name parameter results in different channels.

param
name Name of LoggerChannel
return
a new LoggerChannel
since
2.0.7.0

public LoggerChannel[]getChannels()
Retrieve all the channels that have been created for all plugins.

return
Array of LoggerChannel objects
since
2.1.0.0

public LoggerChannelgetNullChannel(java.lang.String name)
Create a logger channel that doesn't output to the standard AZ log. Add listeners to it if output needs to be routed somewhere. Multiple calls to this method with the same name parameter results in different channels

param
name Name of LoggerChannel
return
a new LoggerChannel
since
2.3.0.0

public org.gudy.azureus2.plugins.PluginInterfacegetPluginInterface()
Retrieve the PluginInterface

return
PluginInterface object
since
2.3.0.0

public LoggerChannelgetTimeStampedChannel(java.lang.String name)
Create a timestamped logging channel. Multiple calls to this method with the same name parameter results in different channels.

param
name Name of LoggerChannel
return
a new LoggerChannel
since
2.3.0.0

public voidremoveAlertListener(LoggerAlertListener listener)
Remove previously added Alert Listener

param
listener LoggerAltertListener to remove
since
2.3.0.6

public voidremoveFileLoggingListener(FileLoggerAdapter listener)