示例#1
0
文件: Logger.java 项目: birkhoff/prob
 /**
  * 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);
 }
示例#2
0
文件: Logger.java 项目: birkhoff/prob
 private static void log(final IStatus status) {
   Activator.getDefault().getLog().log(status);
 }