|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Logger
If a client application wants control over where internal flexdock
logging statements are written it should supply an instance of this
interface to Log.setLogger(Logger)
at
application startup time.
Method Summary | |
---|---|
void |
debug(String message)
Deprecated. Log a debug message. |
void |
debug(String message,
Throwable t)
Deprecated. Log a debug message and provide a Throwable for details. |
void |
error(String message)
Deprecated. Log an error. |
void |
error(String message,
Throwable t)
Deprecated. Log an error and provide a Throwable for details. |
void |
warn(String message)
Deprecated. Log a warning. |
void |
warn(String message,
Throwable t)
Deprecated. Log a warning and provide a Throwable for details. |
Method Detail |
---|
void error(String message)
message
- error message to logvoid 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 errorvoid warn(String message)
message
- warning message to logvoid 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 warningvoid debug(String message)
message
- debug message to logvoid 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 |