public class StringBufferLoggerImpl extends PoorMansLoggerImpl
Logger
implementation based on a StringBuffer
. All
logging method calls are written in the buffer. With method flushLogBuffer()
the buffer will be cleared and the buffered log statements returned as string.Constructor and Description |
---|
StringBufferLoggerImpl(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
flushLogBuffer()
Returns all buffered log statements as string and clear the buffer.
|
boolean |
isErrorLog()
Returns true if one or more error/fatal log method calls
have been logged in the buffer.
|
configure, debug, debug, error, error, fatal, fatal, getName, info, info, isDebugEnabled, isEnabledFor, safeDebug, safeDebug, safeError, safeError, safeFatal, safeFatal, safeInfo, safeInfo, safeWarn, safeWarn, setLevel, warn, warn
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30