Package org.eclipse.ease
Class Logger
java.lang.Object
org.eclipse.ease.Logger
public final class Logger extends Object
Global Logger implementation for EASE. Provides means to log errors, warnings, infos and to create trace output.
-
Method Summary
Modifier and Type Method Description static void
error(String pluginID, String message)
Log an error.static void
error(String pluginID, String message, Throwable throwable)
Log an error.static void
info(String pluginID, String message)
Log an info.static void
trace(String pluginID, boolean enabled, String title)
Create trace output.static void
trace(String pluginID, boolean enabled, String title, String details)
Create trace output.static void
warning(String pluginID, String message)
Log a warning.static void
warning(String pluginID, String message, Throwable throwable)
Log a warning.
-
Method Details
-
error
Log an error.- Parameters:
pluginID
- origin plug-in IDmessage
- error message
-
error
Log an error.- Parameters:
pluginID
- origin plug-in IDmessage
- error messagethrowable
- throwable to be added
-
warning
Log a warning.- Parameters:
pluginID
- origin plug-in IDmessage
- warning message
-
warning
Log a warning.- Parameters:
pluginID
- origin plug-in IDmessage
- warning messagethrowable
- throwable to be added
-
info
Log an info.- Parameters:
pluginID
- origin plug-in IDmessage
- info message
-
trace
Create trace output.- Parameters:
pluginID
- origin plug-in IDenabled
- enablement flag for tracing, typically points to a trace option flagtitle
- trace message title
-
trace
Create trace output.- Parameters:
pluginID
- origin plug-in IDenabled
- enablement flag for tracing, typically points to a trace option flagtitle
- trace message titledetails
- detailed message, will be indented for better readability
-