|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.smaxe.logger.support.DateTimeLogger
public final class DateTimeLogger
DateTimeLogger
Field Summary |
---|
Fields inherited from interface com.smaxe.logger.ILogger |
---|
DEBUG, ERROR, INFO, LEVEL, WARN |
Constructor Summary | |
---|---|
DateTimeLogger(java.text.DateFormat dateFormat,
ILogger logger)
Constructor. |
|
DateTimeLogger(ILogger logger)
Constructor. |
Method Summary | |
---|---|
void |
log(int level,
java.lang.String message,
java.lang.Throwable t,
java.lang.Object... args)
Logs the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeLogger(ILogger logger)
logger
- public DateTimeLogger(java.text.DateFormat dateFormat, ILogger logger)
dateFormat
- logger
- Method Detail |
---|
public void log(int level, java.lang.String message, java.lang.Throwable t, java.lang.Object... args)
ILogger
log
in interface ILogger
level
- message levelmessage
- message to logt
- thrown exception, null
if the exception is not thrownargs
- optional arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |