public class Log
extends java.lang.Object
Log class is used for logging all errors and debug messages in the editor.| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
static void |
error(java.lang.String resource,
java.lang.Throwable ex)
Logs the error with its error tracing and description obtained by
ErrorResourceController. |
static void |
error(java.lang.Throwable ex)
Logs the error with its error tracing.
|
static void |
errorText(java.lang.String text,
java.lang.Throwable ex)
Logs the error with its error tracing and description.
|
static void |
fatal(java.lang.Throwable ex)
Logs the fatal error with its error tracing.
|
static java.lang.String |
getStackTrace(java.lang.Throwable t) |
static void |
info(java.lang.String resource,
java.lang.Object... args)
Logs the information with its description obtained by
ErrorResourceController
with arguments. |
static void |
warn(java.lang.String resource,
java.lang.Throwable ex)
Logs the warning with its error tracing and description obtained by
ErrorResourceController. |
static void |
warn(java.lang.String resource,
java.lang.Throwable ex,
java.lang.Object... args)
Logs the warning with its error tracing and description obtained by
ErrorResourceController with arguments. |
static void |
warn(java.lang.Throwable ex)
Logs the warning with its error tracing.
|
public static void error(java.lang.String resource,
java.lang.Throwable ex)
ErrorResourceController.resource - the resource key of the error description.ex - the rised error.public static void errorText(java.lang.String text,
java.lang.Throwable ex)
text - the error description.ex - the rised error.public static void error(java.lang.Throwable ex)
ex - the rised error.public static void info(java.lang.String resource,
java.lang.Object... args)
ErrorResourceController
with arguments.resource - the resource key of the error description.args - the arguments of the description.public static void warn(java.lang.String resource,
java.lang.Throwable ex)
ErrorResourceController.resource - the resource key of the error description.ex - the rised error.public static void warn(java.lang.String resource,
java.lang.Throwable ex,
java.lang.Object... args)
ErrorResourceController with arguments.resource - the resource key of the warning description.ex - the rised warning.args - the arguments of the description.public static void warn(java.lang.Throwable ex)
ex - the rised warning.public static void fatal(java.lang.Throwable ex)
ex - the rised fatal error.public static java.lang.String getStackTrace(java.lang.Throwable t)