StRoot
1
|
Public Member Functions | |
virtual void | setOption (const String &option, const String &value) |
void | append (const spi::LoggingEventPtr &event) |
virtual void | close () |
virtual bool | requiresLayout () const |
Protected Member Functions | |
String | getLogStatement (const spi::LoggingEventPtr &event) |
Protected Attributes | |
std::list< spi::LoggingEventPtr > | buffer |
unsigned long | fLastId |
Definition at line 18 of file StWsAppender.h.
void StWsAppender::append | ( | const spi::LoggingEventPtr & | event | ) |
Adds the event to the buffer. When full the buffer is flushed.
Definition at line 52 of file StWsAppender.cxx.
|
protected |
By default getLogStatement sends the event to the required Layout object. The layout will format the given pattern into a workable SQL string.
Overriding this provides direct access to the LoggingEvent when constructing the logging statement.
Definition at line 80 of file StWsAppender.cxx.
|
inlinevirtual |
StWsAppender requires a layout.
Definition at line 69 of file StWsAppender.h.
|
virtual |
Set options
Definition at line 34 of file StWsAppender.cxx.
|
protected |
ArrayList holding the buffer of Logging Events.
Definition at line 24 of file StWsAppender.h.