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:
- Serializable, Log
public class DecoratedSimpleLog
- extends SimpleLog
Decorated instance of SimpleLog to expose internal state and
support buffered output.
- See Also:
- Serialized Form
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 ArrayList cache
DecoratedSimpleLog
public DecoratedSimpleLog(String name)
getDateTimeFormatter
public DateFormat getDateTimeFormatter()
getDateTimeFormat
public String getDateTimeFormat()
getLogName
public String getLogName()
getShowDateTime
public boolean getShowDateTime()
getShowShortName
public boolean getShowShortName()
log
protected void log(int type,
Object message,
Throwable t)
- Overrides:
log
in class SimpleLog
clearCache
public void clearCache()
getCache
public List getCache()
Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.