log4cpp:FileAppender (3)





NAME

       log4cpp::FileAppender -


SYNOPSIS

       #include <FileAppender.hh>

       Inherits log4cpp::LayoutAppender.

   Public Methods
       FileAppender (const std::string &name, const std::string &fileName)
       FileAppender (const std::string &name, int fd)
       virtual ~FileAppender ()
       virtual bool reopen ()
           Reopens the output destination of this Appender, e.g.
       virtual void close ()
           Release any resources allocated within the appender such as file
           handles, network connections, etc.

   Protected Methods
       virtual void _append (const LoggingEvent &event)
           Log in Appender specific way.

   Protected Attributes
       const std::string _fileName
       int _fd


CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

   log4cpp::FileAppender::FileAppender (const std::string & name, const
       std::string & fileName)
   log4cpp::FileAppender::FileAppender (const std::string & name, int fd)
   log4cpp::FileAppender::~FileAppender () [virtual]

MEMBER FUNCTION DOCUMENTATION

   void log4cpp::FileAppender::_append (const LoggingEvent & event)
       [protected, virtual]
       Log in Appender specific way.

       Subclasses of Appender should implement this method to perform actual
       logging.

       Parameters:

       event  The LoggingEvent to log.

       Implements log4cpp::AppenderSkeleton.

   void log4cpp::FileAppender::close () [virtual]
       Release any resources allocated within the appender such as file
       handles, network connections, etc.

       Implements log4cpp::AppenderSkeleton.

   bool log4cpp::FileAppender::reopen () [virtual]
       Reopens the output destination of this Appender, e.g.

   const std::string log4cpp::FileAppender::_fileName [protected]

AUTHOR

       Generated automatically by Doxygen for log4cpp from the source code.

log4cpp                           19 Aug 2003         log4cpp::FileAppender(3)