|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simple.DecoratedSimpleLog
public class DecoratedSimpleLog
Decorated instance of SimpleLog to expose internal state and support buffered output.
Field Summary | |
---|---|
protected ArrayList |
cache
|
Fields inherited from class org.apache.commons.logging.impl.SimpleLog |
---|
currentLogLevel, dateFormatter, dateTimeFormat, DEFAULT_DATE_TIME_FORMAT, LOG_LEVEL_ALL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, logName, showDateTime, showLogName, showShortName, simpleLogProps, systemPrefix |
Constructor Summary | |
---|---|
DecoratedSimpleLog(String name)
|
Method Summary | |
---|---|
void |
clearCache()
|
List |
getCache()
|
String |
getDateTimeFormat()
|
DateFormat |
getDateTimeFormatter()
|
String |
getLogName()
|
boolean |
getShowDateTime()
|
boolean |
getShowShortName()
|
protected void |
log(int type,
Object message,
Throwable t)
|
Methods inherited from class org.apache.commons.logging.impl.SimpleLog |
---|
debug, debug, error, error, fatal, fatal, getLevel, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, setLevel, trace, trace, warn, warn, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ArrayList cache
Constructor Detail |
---|
public DecoratedSimpleLog(String name)
Method Detail |
---|
public DateFormat getDateTimeFormatter()
public String getDateTimeFormat()
public String getLogName()
public boolean getShowDateTime()
public boolean getShowShortName()
protected void log(int type, Object message, Throwable t)
log
in class org.apache.commons.logging.impl.SimpleLog
public void clearCache()
public List getCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |