|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.devsphere.logging.AbstractLogger
|
+--com.devsphere.logging.StandardLogger
Logging mechanism based on the logging API introduced by JDK 1.4.
AbstractLogger| Constructor Summary | |
StandardLogger(java.util.logging.Logger wrappedLogger,
java.util.logging.Level loggingLevel)
Creates the standard logger. |
|
| Method Summary | |
void |
close()
This method does nothing. |
void |
flush()
This method does nothing. |
void |
log(java.lang.String message)
Logs a message. |
void |
log(java.lang.String message,
java.lang.Throwable throwable)
Logs a message and an exception. |
void |
log(java.lang.Throwable throwable)
Logs an exception. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardLogger(java.util.logging.Logger wrappedLogger,
java.util.logging.Level loggingLevel)
wrappedLogger - the wrapped standard logger.loggingLevel - the logging level.
java.lang.NullPointerException - if wrappedLogger
is null or
loggingLevel
is null.| Method Detail |
public void log(java.lang.String message)
log in class AbstractLoggermessage - the message that has to be logged.public void log(java.lang.Throwable throwable)
log in class AbstractLoggerthrowable - the exception that has to be logged.
public void log(java.lang.String message,
java.lang.Throwable throwable)
log in class AbstractLoggermessage - the message that has to be logged.throwable - the exception that has to be logged.public void flush()
flush in class AbstractLoggerpublic void close()
close in class AbstractLogger
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||