18 #ifndef _LOG4CXX_FILE_APPENDER_H
19 #define _LOG4CXX_FILE_APPENDER_H
47 struct FileAppenderPriv;
75 bool bufferedIO,
int bufferSize);
112 bool getAppend() const;
126 void activateOptions(helpers::Pool& p) override;
155 bool getBufferedIO() const;
160 int getBufferSize() const;
166 int getBufferedSeconds() const;
180 void setAppend(
bool newValue);
196 void setBufferedIO(
bool newValue);
201 void setBufferSize(
int newValue);
210 void setBufferedSeconds(
int newValue);
221 void activateOptionsInternal(helpers::Pool& p);
243 void setFileInternal(const
LogString& file,
bool append,
244 bool bufferedIO,
size_t bufferSize,
FileAppender appends log events to a file.
Definition: fileappender.h:45
WriterAppender appends log events to a standard output stream.
Definition: writerappender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:60
LOG4CXX_PTR_DEF(FileAppender)
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:41
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:154
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:148
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:41
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:160
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:142