18#ifndef _LOG4CXX_WRITER_APPENDER_H
19#define _LOG4CXX_WRITER_APPENDER_H
39 struct WriterAppenderPriv;
63 void activateOptions(helpers::Pool& pool) override;
79 void setImmediateFlush(
bool value);
83 bool getImmediateFlush() const;
97 void append(const spi::LoggingEventPtr& event, helpers::Pool& p) override;
107 virtual
bool checkEntryConditions() const;
117 void close() override;
131 virtual helpers::WriterPtr createWriter(helpers::OutputStreamPtr& os);
168 void setWriter(const
LOG4CXX_NS::helpers::WriterPtr& writer);
172 bool requiresLayout() const override;
178 virtual
void subAppend(const spi::LoggingEventPtr& event,
LOG4CXX_NS::helpers::Pool& p);
194 void setWriterInternal(const
LOG4CXX_NS::helpers::WriterPtr& writer);
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
WriterAppender appends log events to a standard output stream.
Definition: writerappender.h:37
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
std::basic_string< logchar > LogString
Definition: logstring.h:60
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:42
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146