|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILog
A log to which status events can be written. Logs appear on individual plug-ins and on the platform itself. Clients can register log listeners which will receive notification of all log events as they come in.
This interface is not intended to be implemented by clients.
XXX Need to create a new log interface on common plugin. That interface should be a super interface of this ILog. getBundle() would stay here. In the super interface we would have getName()
Method Summary | |
---|---|
void |
addLogListener(ILogListener listener)
Adds the given log listener to this log. |
Bundle |
getBundle()
Returns the plug-in with which this log is associated. |
void |
log(IStatus status)
Logs the given status. |
void |
removeLogListener(ILogListener listener)
Removes the given log listener to this log. |
Method Detail |
---|
void addLogListener(ILogListener listener)
listener
- the listener to add to this logPlatform.addLogListener(ILogListener)
Bundle getBundle()
void log(IStatus status)
status
- the status to logvoid removeLogListener(ILogListener listener)
listener
- the listener to removePlatform.removeLogListener(ILogListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |