|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Logger
Logging utilities class
Method Summary | |
---|---|
void |
addAlertListener(LogAlertListener listener)
Add a listener to be informed of any alerts to be displayed to users. |
void |
addAlertListener(LoggerAlertListener listener)
Add LoggerAlertListener for all alerts raised. |
void |
addFileLoggingListener(FileLoggerAdapter listener)
|
LoggerChannel |
getChannel(String name)
Create a normal logging channel. |
LoggerChannel[] |
getChannels()
Retrieve all the channels that have been created for all plugins. |
LoggerChannel |
getNullChannel(String name)
Create a logger channel that doesn't output to the standard AZ log. |
PluginInterface |
getPluginInterface()
Retrieve the PluginInterface |
LoggerChannel |
getTimeStampedChannel(String name)
Create a timestamped logging channel. |
void |
removeAlertListener(LogAlertListener listener)
Remove a previously added alert listener. |
void |
removeAlertListener(LoggerAlertListener listener)
Remove previously added AlertListener. |
void |
removeFileLoggingListener(FileLoggerAdapter listener)
|
Method Detail |
---|
LoggerChannel getChannel(String name)
name
- Name of LoggerChannel
LoggerChannel getTimeStampedChannel(String name)
name
- Name of LoggerChannel
LoggerChannel getNullChannel(String name)
name
- Name of LoggerChannel
LoggerChannel[] getChannels()
PluginInterface getPluginInterface()
void addAlertListener(LoggerAlertListener listener)
addAlertListener(LogAlertListener)
,
as it is more flexible.
listener
- Listener to addaddAlertListener(LogAlertListener)
void removeAlertListener(LoggerAlertListener listener)
listener
- LoggerAlertListener to removevoid addAlertListener(LogAlertListener listener)
void removeAlertListener(LogAlertListener listener)
void addFileLoggingListener(FileLoggerAdapter listener)
void removeFileLoggingListener(FileLoggerAdapter listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |