|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.flexdock.logging.Log
public class Log
This class provides static log methods that should be used for logging from inside other flexdock classes.
| Method Summary | |
|---|---|
static void |
debug(String message)
Deprecated. Log a debug message. |
static void |
debug(String message,
Throwable t)
Deprecated. Log a debug message and provide a Throwable for details. |
static void |
error(String message)
Deprecated. Log an error. |
static void |
error(String message,
Throwable t)
Deprecated. Log an error and provide a Throwable for details. |
static void |
setLogger(Logger newLogger)
Deprecated. Set a new Logger instance to perform the actual
logging. |
static void |
warn(String message)
Deprecated. Log a warning. |
static void |
warn(String message,
Throwable t)
Deprecated. Log a warning and provide a Throwable for details. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setLogger(Logger newLogger)
Logger instance to perform the actual
logging.
newLogger - Logger instance, may not be nullpublic static void error(String message)
message - error message to log
public static void error(String message,
Throwable t)
Throwable for details.
An error is a condition that may cause flexdock to behave
unexepctedly afterwards.
message - error message to logt - details of the errorpublic static void warn(String message)
message - warning message to log
public static void warn(String message,
Throwable t)
Throwable for details.
A warning is a condition that will not cause flexdock to behave
unexpectedly but is considered severe enough that it should be
noticed in the log by support staff.
message - warning message to logt - details of the warningpublic static void debug(String message)
message - debug message to log
public static void debug(String message,
Throwable t)
Throwable for details.
A debug message is not expected to be logged in production systems.
It can be used to help in debugging functionality under development.
message - debug message to logt - details of the debug message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||