1 #ifndef _LOG4CXX_ST_WS_APPENDER_H
2 #define _LOG4CXX_ST_WS_APPENDER_H
6 #include <log4cxx/helpers/exception.h>
7 #include <log4cxx/appenderskeleton.h>
8 #include <log4cxx/spi/loggingevent.h>
16 typedef helpers::ObjectPtrT<StWsAppender> StWsAppenderPtr;
24 std::list<spi::LoggingEventPtr>
buffer;
25 unsigned long fLastId;
29 BEGIN_LOG4CXX_CAST_MAP()
31 LOG4CXX_CAST_ENTRY_CHAIN(AppenderSkeleton)
32 END_LOG4CXX_CAST_MAP()
35 virtual ~StWsAppender();
40 virtual
void setOption(const String& option, const String& value);
45 void append(const spi::LoggingEventPtr& event);
56 String getLogStatement(const spi::LoggingEventPtr& event);
58 #if (STAR_LOG4CXX_VERSION == 10)
60 virtual void append(
const spi::LoggingEventPtr& event, log4cxx::helpers::Pool& p);
76 #endif // _LOG4CXX_WS_APPENDER_H
virtual bool requiresLayout() const
std::list< spi::LoggingEventPtr > buffer