public class EclipseLoggingListener implements LoggingListener {
@Override
public void logError(String message, Throwable throwable) {
Status status = new Status(IStatus.ERROR, PLUGIN_ID, message, throwable);
InfinitestPlugin plugin = InfinitestPlugin.getInstance();
if (plugin != null) {
plugin.getLog().log(status);
}
}