18#ifndef _LOG4CXX_FILE_APPENDER_H
19#define _LOG4CXX_FILE_APPENDER_H
28 #pragma warning ( push )
29 #pragma warning ( disable: 4251 )
96 bool bufferedIO,
int bufferSize);
133 inline
bool getAppend()
const
202 this->bufferSize = bufferSize1;
237 bool bufferedIO,
size_t bufferSize,
252 #pragma warning (pop)
FileAppender appends log events to a file.
Definition: fileappender.h:47
int getBufferSize() const
Get the size of the IO buffer.
Definition: fileappender.h:169
void activateOptions(log4cxx::helpers::Pool &p)
int bufferSize
How big should the IO buffer be? Default is 8K.
Definition: fileappender.h:68
LogString getFile() const
Returns the value of the File option.
Definition: fileappender.h:139
bool bufferedIO
Do we do bufferedIO?
Definition: fileappender.h:64
void setAppend(bool fileAppend1)
The Append option takes a boolean value.
LogString fileName
The name of the log file.
Definition: fileappender.h:60
bool fileAppend
Append to or truncate the file? The default value for this variable is true, meaning that by default ...
Definition: fileappender.h:56
void setBufferSize(int bufferSize1)
Set the size of the IO buffer.
Definition: fileappender.h:200
static LogString stripDuplicateBackslashes(const LogString &name)
Replaces double backslashes with single backslashes for compatibility with paths from earlier XML con...
void setFileInternal(const LogString &file)
void setFileInternal(const LogString &file, bool append, bool bufferedIO, size_t bufferSize, log4cxx::helpers::Pool &p)
Sets and opens the file where the log output will go.
bool getBufferedIO() const
Get the value of the BufferedIO option.
Definition: fileappender.h:161
void activateOptionsInternal(log4cxx::helpers::Pool &p)
void setOption(const LogString &option, const LogString &value)
Set option to value.
void setBufferedIO(bool bufferedIO)
The BufferedIO option takes a boolean value.
WriterAppender appends log events to a standard output stream.
Definition: writerappender.h:43
Definition: messagehandler.h:23
std::basic_string< logchar > LogString
Definition: logstring.h:66
std::shared_ptr< Layout > LayoutPtr
Definition: appender.h:48
LOG4CXX_PTR_DEF(Appender)
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:159
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141