|
|||||||||
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(java.lang.String message)
Deprecated. Log a debug message. |
static void |
debug(java.lang.String message,
java.lang.Throwable t)
Deprecated. Log a debug message and provide a Throwable for details. |
static void |
error(java.lang.String message)
Deprecated. Log an error. |
static void |
error(java.lang.String message,
java.lang.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(java.lang.String message)
Deprecated. Log a warning. |
static void |
warn(java.lang.String message,
java.lang.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 null
public static void error(java.lang.String message)
message
- error message to logpublic static void error(java.lang.String message, java.lang.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(java.lang.String message)
message
- warning message to logpublic static void warn(java.lang.String message, java.lang.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(java.lang.String message)
message
- debug message to logpublic static void debug(java.lang.String message, java.lang.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 |