Example #1
0
 /**
  * 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);
 }
Example #2
0
 private static void log(final IStatus status) {
   Activator.getDefault().getLog().log(status);
 }