Example #1
0
 public static void log(String msg) {
   getTracer().trace(TraceOptions.LOG_INFO, "INFO   - " + msg);
   plugin.getLog().log(new Status(IStatus.INFO, PLUGIN_ID, msg));
 }
Example #2
0
 public static void logWarning(Throwable e) {
   getTracer().trace(TraceOptions.LOG_WARNING, e);
   plugin.getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, e.getMessage(), e));
 }
Example #3
0
 public static void logError(Throwable e) {
   getTracer().trace(TraceOptions.LOG_ERROR, e, "ERROR  - ");
   plugin.getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, e.getMessage(), e));
 }
Example #4
0
 public static void logWarning(String msg, Throwable e) {
   getTracer().trace(TraceOptions.LOG_WARNING, e, "WARNING - " + msg);
   plugin.getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, msg, e));
 }
Example #5
0
 public static void logError(String msg, Throwable e) {
   getTracer().trace(TraceOptions.LOG_ERROR, e, "ERROR  - " + msg);
   plugin.getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, msg, e));
 }