18#ifndef _LOG4CXX_ASYNC_APPENDER_H
19#define _LOG4CXX_ASYNC_APPENDER_H
70 struct AsyncAppenderPriv;
97 void doAppend(const spi::LoggingEventPtr& event,
98 helpers::Pool& pool1) override;
100 void append(const spi::LoggingEventPtr& event, helpers::Pool& p) override;
107 void close() override;
113 AppenderList getAllAppenders() const override;
129 bool getLocationInfo() const;
137 bool requiresLayout() const override;
142 void removeAllAppenders() override;
160 void setLocationInfo(
bool flag);
167 void setBufferSize(
int size);
173 int getBufferSize() const;
181 void setBlocking(
bool value);
190 bool getBlocking() const;
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
The AsyncAppender decouples logging event creation from output by processing log events asynchronousl...
Definition: asyncappender.h:68
This Interface is for attaching Appenders to objects.
Definition: appenderattachable.h:33
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:32
LOG4CXX_LIST_DEF(AppenderList, AppenderPtr)
std::basic_string< logchar > LogString
Definition: logstring.h:60
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:29
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146