18#ifndef _LOG4CXX_ASYNC_APPENDER_H
19#define _LOG4CXX_ASYNC_APPENDER_H
48 struct AsyncAppenderPriv;
75 void doAppend(const spi::LoggingEventPtr& event,
76 helpers::Pool& pool1) override;
78 void append(const spi::LoggingEventPtr& event, helpers::Pool& p) override;
85 void close() override;
91 AppenderList getAllAppenders() const override;
107 bool getLocationInfo() const;
115 bool requiresLayout() const override;
120 void removeAllAppenders() override;
138 void setLocationInfo(
bool flag);
145 void setBufferSize(
int size);
151 int getBufferSize() const;
159 void setBlocking(
bool value);
168 bool getBlocking() const;
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
The AsyncAppender lets users log events asynchronously.
Definition: asyncappender.h:46
This Interface is for attaching Appenders to objects.
Definition: appenderattachable.h:34
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