| java.lang.Object org.apache.ojb.broker.util.logging.PoorMansLoggerImpl org.apache.ojb.broker.util.logging.StringBufferLoggerImpl
StringBufferLoggerImpl | public class StringBufferLoggerImpl extends PoorMansLoggerImpl (Code) | | This class is a
Logger implementation based on a
StringBuffer . All
logging method calls are written in the buffer. With method
StringBufferLoggerImpl.flushLogBuffer() the buffer will be cleared and the buffered log statements returned as string.
version: $Id: StringBufferLoggerImpl.java,v 1.1.2.2 2005/12/21 22:28:16 tomdz Exp $ |
StringBufferLoggerImpl | public StringBufferLoggerImpl(String name)(Code) | | |
flushLogBuffer | public String flushLogBuffer()(Code) | | Returns all buffered log statements as string and clear the buffer.
|
isErrorLog | public boolean isErrorLog()(Code) | | Returns true if one or more error/fatal log method calls
have been logged in the buffer.
|
Methods inherited from org.apache.ojb.broker.util.logging.PoorMansLoggerImpl | public void configure(Configuration config) throws ConfigurationException(Code)(Java Doc) public void debug(Object pObject)(Code)(Java Doc) public void debug(Object message, Throwable t)(Code)(Java Doc) public void error(Object pObject)(Code)(Java Doc) public void error(Object message, Throwable t)(Code)(Java Doc) public void fatal(Object pObject)(Code)(Java Doc) public void fatal(Object message, Throwable t)(Code)(Java Doc) protected int getLevel()(Code)(Java Doc) public String getName()(Code)(Java Doc) public void info(Object pObject)(Code)(Java Doc) public void info(Object message, Throwable t)(Code)(Java Doc) public boolean isDebugEnabled()(Code)(Java Doc) public boolean isEnabledFor(int priority)(Code)(Java Doc) protected void log(String aLevel, Object obj, Throwable t)(Code)(Java Doc) public void safeDebug(String message, Object obj)(Code)(Java Doc) public void safeDebug(String message, Object obj, Throwable t)(Code)(Java Doc) public void safeError(String message, Object obj)(Code)(Java Doc) public void safeError(String message, Object obj, Throwable t)(Code)(Java Doc) public void safeFatal(String message, Object obj)(Code)(Java Doc) public void safeFatal(String message, Object obj, Throwable t)(Code)(Java Doc) public void safeInfo(String message, Object obj)(Code)(Java Doc) public void safeInfo(String message, Object obj, Throwable t)(Code)(Java Doc) public void safeWarn(String message, Object obj)(Code)(Java Doc) public void safeWarn(String message, Object obj, Throwable t)(Code)(Java Doc) void setLevel(int pLevel)(Code)(Java Doc) public void setLevel(String levelName)(Code)(Java Doc) public void warn(Object pObject)(Code)(Java Doc) public void warn(Object message, Throwable t)(Code)(Java Doc)
|
|
|