/** * Registers a new {@link ILogListener}. The listener's {@link ILogListener#logging(IStatus, * String)} method is called, if something is written to the plug-in log * * @param listener */ public static void addListener(final ILogListener listener) { Activator.getDefault().getLog().addLogListener(listener); }
private static void log(final IStatus status) { Activator.getDefault().getLog().log(status); }