org.apache.commons.logging.simple
Class DecoratedSimpleLog
java.lang.Object
org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simple.DecoratedSimpleLog
- All Implemented Interfaces:
- java.io.Serializable, org.apache.commons.logging.Log
public class DecoratedSimpleLog
- extends org.apache.commons.logging.impl.SimpleLog
Decorated instance of SimpleLog to expose internal state and
support buffered output.
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.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 |
| 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 |
cache
protected java.util.ArrayList cache
DecoratedSimpleLog
public DecoratedSimpleLog(java.lang.String name)
getDateTimeFormatter
public java.text.DateFormat getDateTimeFormatter()
getDateTimeFormat
public java.lang.String getDateTimeFormat()
getLogName
public java.lang.String getLogName()
getShowDateTime
public boolean getShowDateTime()
getShowShortName
public boolean getShowShortName()
log
protected void log(int type,
java.lang.Object message,
java.lang.Throwable t)
- Overrides:
log in class org.apache.commons.logging.impl.SimpleLog
clearCache
public void clearCache()
getCache
public java.util.List getCache()
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.