public class Logger extends Object
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and 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 |
info(String pluginID,
String message,
Throwable throwable)
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.
|
public static void error(String pluginID, String message)
pluginID
- origin plug-in IDmessage
- error messagepublic static void error(String pluginID, String message, Throwable throwable)
pluginID
- origin plug-in IDmessage
- error messagethrowable
- throwable to be addedpublic static void warning(String pluginID, String message)
pluginID
- origin plug-in IDmessage
- warning messagepublic static void warning(String pluginID, String message, Throwable throwable)
pluginID
- origin plug-in IDmessage
- warning messagethrowable
- throwable to be addedpublic static void info(String pluginID, String message)
pluginID
- origin plug-in IDmessage
- info messagepublic static void info(String pluginID, String message, Throwable throwable)
pluginID
- origin plug-in IDmessage
- info messagethrowable
- throwable to be addedpublic static void trace(String pluginID, boolean enabled, String title)
pluginID
- origin plug-in IDenabled
- enablement flag for tracing, typically points to a trace option flagtitle
- trace message titlepublic static void trace(String pluginID, boolean enabled, String title, String details)
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