10 #ifndef _LOG4CPP_FILEAPPENDER_HH 11 #define _LOG4CPP_FILEAPPENDER_HH 32 FileAppender(
const std::string& name,
const std::string& fileName,
33 bool append =
true,
mode_t mode = 00644);
65 virtual void setAppend(
bool append);
70 virtual bool getAppend()
const;
75 virtual void setMode(
mode_t mode);
80 virtual mode_t getMode()
const;
92 #endif // _LOG4CPP_FILEAPPENDER_HH
virtual bool reopen()
Reopens the output destination of this Appender, e.g.
The top level namespace for all 'Log for C++' types and classes.
virtual void _append(const LoggingEvent &event)=0
Log in Appender specific way.
LayoutAppender is a common superclass for all Appenders that require a Layout.
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections...
const std::string _fileName