class BufferedAppender extends AbstractAppender
An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BufferedAppender
- AbstractAppender
- Appender
- AbstractFilterable
- Filterable
- AbstractLifeCycle
- LifeCycle2
- LifeCycle
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addFilter(arg0: Filter): Unit
- Definition Classes
- AbstractFilterable → Filterable
-
def
append(event: LogEvent): Unit
- Definition Classes
- BufferedAppender → Appender
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buffer[T](f: ⇒ T): T
- def bufferQuietly[T](f: ⇒ T): T
-
def
clearBuffer(): Unit
Clears buffered events and disables buffering.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
equalsImpl(arg0: Any): Boolean
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
error(arg0: String, arg1: Throwable): Unit
- Definition Classes
- AbstractAppender
-
def
error(arg0: String, arg1: LogEvent, arg2: Throwable): Unit
- Definition Classes
- AbstractAppender
-
def
error(arg0: String): Unit
- Definition Classes
- AbstractAppender
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getFilter(): Filter
- Definition Classes
- AbstractFilterable → Filterable
-
def
getHandler(): ErrorHandler
- Definition Classes
- AbstractAppender → Appender
-
def
getLayout(): Layout[_ <: Serializable]
- Definition Classes
- AbstractAppender → Appender
-
def
getName(): String
- Definition Classes
- AbstractAppender → Appender
-
def
getState(): State
- Definition Classes
- AbstractLifeCycle → LifeCycle
-
def
hasFilter(): Boolean
- Definition Classes
- AbstractFilterable → Filterable
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
hashCodeImpl(): Int
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
ignoreExceptions(): Boolean
- Definition Classes
- AbstractAppender → Appender
-
def
initialize(): Unit
- Definition Classes
- AbstractLifeCycle → LifeCycle
-
def
isFiltered(arg0: LogEvent): Boolean
- Definition Classes
- AbstractFilterable → Filterable
-
def
isInitialized(): Boolean
- Definition Classes
- AbstractLifeCycle
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isStarted(): Boolean
- Definition Classes
- AbstractLifeCycle → LifeCycle
-
def
isStarting(): Boolean
- Definition Classes
- AbstractLifeCycle
-
def
isStopped(): Boolean
- Definition Classes
- AbstractLifeCycle → LifeCycle
-
def
isStopping(): Boolean
- Definition Classes
- AbstractLifeCycle
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
play(): Unit
Flushes the buffer to the delegate logger.
Flushes the buffer to the delegate logger. This method calls logAll on the delegate so that the messages are written consecutively. The buffer is cleared in the process.
-
def
record(): Unit
Enables buffering.
-
def
removeFilter(arg0: Filter): Unit
- Definition Classes
- AbstractFilterable → Filterable
-
def
setHandler(arg0: ErrorHandler): Unit
- Definition Classes
- AbstractAppender → Appender
-
def
setStarted(): Unit
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
setStarting(): Unit
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
setState(arg0: State): Unit
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
setStopped(): Unit
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
setStopping(): Unit
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
start(): Unit
- Definition Classes
- AbstractFilterable → AbstractLifeCycle → LifeCycle
-
def
stop(arg0: Long, arg1: TimeUnit, arg2: Boolean): Boolean
- Attributes
- protected[org.apache.logging.log4j.core.filter]
- Definition Classes
- AbstractFilterable
-
def
stop(arg0: Long, arg1: TimeUnit): Boolean
- Definition Classes
- AbstractFilterable → AbstractLifeCycle → LifeCycle2
-
def
stop(arg0: Future[_]): Boolean
- Attributes
- protected[org.apache.logging.log4j.core]
- Definition Classes
- AbstractLifeCycle
-
def
stop(): Unit
- Definition Classes
- AbstractLifeCycle → LifeCycle
-
def
stopBuffer(): Unit
Plays buffered events and disables buffering.
- def stopQuietly(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AbstractAppender → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )