|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 the come in.
This interface is not intended to be implemented by clients.
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 |
public void addLogListener(ILogListener listener)
listener
- the listener to add to this logPlatform.addLogListener(ILogListener)
public Bundle getBundle()
Note: This is an early access API to the new OSGI-based Eclipse 3.0 Platform Runtime. Because the APIs for the new runtime have not yet been fully stabilized, they should only be used by clients needing to take particular advantage of new OSGI-specific functionality, and only then with the understanding that these APIs may well change in incompatible ways until they reach their finished, stable form (post-3.0).
public void log(IStatus status)
status
- the status to logpublic void removeLogListener(ILogListener listener)
listener
- the listener to removePlatform.removeLogListener(ILogListener)
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.