Class LoggingUtils
- java.lang.Object
-
- org.eclipse.emf.edapt.internal.common.LoggingUtils
-
public final class LoggingUtils extends Object
Helper methods to issue log entries.- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatus
createMultiStatus(org.eclipse.core.runtime.Plugin plugin, int severity, String message, Throwable exception)
Creates a multi status.static org.eclipse.core.runtime.IStatus
createStatus(org.eclipse.core.runtime.Plugin plugin, int severity, int code, String message, Throwable exception)
Create status.static void
log(org.eclipse.core.runtime.Plugin plugin, int severity, int code, String message, Throwable exception)
Log event.static void
log(org.eclipse.core.runtime.Plugin plugin, org.eclipse.core.runtime.IStatus status)
Log status.static void
logError(org.eclipse.core.runtime.Plugin plugin, String message)
Log error.static void
logError(org.eclipse.core.runtime.Plugin plugin, String message, Throwable exception)
Log error.static void
logError(org.eclipse.core.runtime.Plugin plugin, Throwable exception)
Log error.static void
logInfo(org.eclipse.core.runtime.Plugin plugin, String message)
Log information.
-
-
-
Method Detail
-
logInfo
public static void logInfo(org.eclipse.core.runtime.Plugin plugin, String message)
Log information.
-
logError
public static void logError(org.eclipse.core.runtime.Plugin plugin, Throwable exception)
Log error.
-
logError
public static void logError(org.eclipse.core.runtime.Plugin plugin, String message, Throwable exception)
Log error.
-
logError
public static void logError(org.eclipse.core.runtime.Plugin plugin, String message)
Log error.
-
log
public static void log(org.eclipse.core.runtime.Plugin plugin, int severity, int code, String message, Throwable exception)
Log event.
-
log
public static void log(org.eclipse.core.runtime.Plugin plugin, org.eclipse.core.runtime.IStatus status)
Log status.
-
createStatus
public static org.eclipse.core.runtime.IStatus createStatus(org.eclipse.core.runtime.Plugin plugin, int severity, int code, String message, Throwable exception)
Create status.
-
-