public class ConsoleLog
extends java.lang.Object
implements org.eclipse.core.runtime.ILog
ILog
implementation that prints logged status events on the console. Intended to be used in standalone
applications when the Platform's log infrastructure is not available.Constructor and Description |
---|
ConsoleLog() |
Modifier and Type | Method and Description |
---|---|
void |
addLogListener(org.eclipse.core.runtime.ILogListener listener) |
org.osgi.framework.Bundle |
getBundle() |
void |
log(org.eclipse.core.runtime.IStatus status) |
void |
removeLogListener(org.eclipse.core.runtime.ILogListener listener) |
public void addLogListener(org.eclipse.core.runtime.ILogListener listener)
addLogListener
in interface org.eclipse.core.runtime.ILog
public org.osgi.framework.Bundle getBundle()
getBundle
in interface org.eclipse.core.runtime.ILog
public void log(org.eclipse.core.runtime.IStatus status)
log
in interface org.eclipse.core.runtime.ILog
public void removeLogListener(org.eclipse.core.runtime.ILogListener listener)
removeLogListener
in interface org.eclipse.core.runtime.ILog