An Appender that Buffers LogEvents in-memory and and redirects them to other Appenders once certain conditions are met.
Like for a Logger. Buffered events will be passed on to these Appenders once a flush is triggered
FALSE: Whether the
buffer should be flushed when the Appender is garbage collected (f.e when
you close R)
the buffer should be flushed when the Buffer is full (f.e when you close
R). Setting this to off can have slightly negative performance impacts.
The Layout for this Appender is used only to format console output of
Sends the buffer's contents to all attached Appenders and then clears the Buffer
Exactly like A Logger, an AppenderBuffer can have an arbitrary amount of Appenders attached. When the buffer is flushed, the buffered events are dispatched to these Appenders.
Add an Appender to the AppenderBuffer
Add or remove an Appender. Supplying a
name is optional but
recommended. After adding an Appender with
appender$add_appender(AppenderConsole$new(), name = "console") you can
refer to it via
remove an Appender by position or name.
a single Appender
character scalar. Optional but recommended.
remove an appender