Refine search
/** * Logs runtime status. * * @param status Runtime status. */ public void log(IStatus status) { getLog().log(status); }
/** * Logs runtime status. * * @param status Runtime status. */ public void log(IStatus status) { getLog().log(status); }
/** * Log an Error message with an exception. Note that the message should * already be localized to proper local. Errors are always logged. */ public static synchronized void error(String message, Throwable ex) { if (message == null) message = ""; //$NON-NLS-1$ Status errorStatus = new Status(IStatus.ERROR, PLUGIN_ID, IStatus.OK, message, ex); pluginLog.log(errorStatus); }
/** * Logs runtime status. * * @param status Runtime status. */ public void log(IStatus status) { getLog().log(status); }
/** * Logs runtime status. * * @param status Runtime status. */ public void log(IStatus status) { getLog().log(status); }
/** * Logs runtime status. * * @param status Runtime status. */ public void log(IStatus status) { getLog().log(status); }
/** * Defines the standard procedure to handle <code>CoreExceptions</code>. Exceptions * are written to the plug-in log. * * @param exception the exception to be logged */ protected void handleCoreException(CoreException exception) { ILog log= FileBuffersPlugin.getDefault().getLog(); log.log(exception.getStatus()); }
/** * Method for log warning. * @param bundle required for the bundle ID. * @param warningMessage the message to log. */ public static void logWarning(final Bundle bundle, final String warningMessage) { Platform.getLog(bundle).log(new Status(IStatus.WARNING, bundle.getSymbolicName(), warningMessage)); }
public static void log(IStatus status) { ILog log = Activator.getDefault().getLog(); log.log(status); } }
/** * Log the specified {@link Exception} to the workspace logging file. * * @param ex * The {@link Exception} to log */ public final void logException(final Exception ex) { if (ex != null) { final IStatus errorStatus = new Status(IStatus.ERROR, TracingConstants.BUNDLE_ID, ex.getMessage(), ex); this.getLog().log(errorStatus); } }
public static void log(IStatus status) { final Bundle bundle = Platform.getBundle(ResourcesPlugin.PI_RESOURCES); if (bundle == null) return; Platform.getLog(bundle).log(status); }
/** * * Record a status against this plugin's log. * * @param aStatus */ public static void log(IStatus aStatus) { getDefault().getLog().log(aStatus); }
/** * Log status to platform log * @param status the status to log */ public static void log(IStatus status) { getDefault().getLog().log(status); }