|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.editor.controller.logger.Log
public class Log
The Log
class is used for logging all errors and debug messages in the editor.
Constructor Summary | |
---|---|
Log()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |