|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.flexdock.logging.SimpleLogger
public abstract class SimpleLogger
Abstract base class for implementing Logger
instances that don't care about the difference of warnings
and errors.
All debug messages are swallowed, all warnings and errors are passed on
to the abstract method log(String, Throwable).
| Constructor Summary | |
|---|---|
SimpleLogger()
Deprecated. |
|
| 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. |
abstract void |
log(String message,
Throwable t)
Deprecated. |
void |
warn(String message)
Deprecated. Log a warning. |
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 |
| Constructor Detail |
|---|
public SimpleLogger()
| Method Detail |
|---|
public abstract void log(String message,
Throwable t)
public void debug(String message,
Throwable t)
LoggerThrowable 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.
debug in interface Loggermessage - debug message to logt - details of the debug messagepublic void debug(String message)
Logger
debug in interface Loggermessage - debug message to log
public void error(String message,
Throwable t)
LoggerThrowable for details.
An error is a condition that may cause flexdock to behave
unexepctedly afterwards.
error in interface Loggermessage - error message to logt - details of the errorpublic void error(String message)
Logger
error in interface Loggermessage - error message to log
public void warn(String message,
Throwable t)
LoggerThrowable 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.
warn in interface Loggermessage - warning message to logt - details of the warningpublic void warn(String message)
Logger
warn in interface Loggermessage - warning message to log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||