/** * Logs the specified throwable with this plug-in's log. * * @param t throwable to log */ public static void log(Throwable t) { if (t instanceof CoreException) { log(((CoreException)t).getStatus()); } else { log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$ } }
/** * Logs the specified throwable with this plug-in's log. * * @param t throwable to log */ public static void log(Throwable t) { if (t instanceof CoreException) { log(((CoreException)t).getStatus()); } else { log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$ } }