log4cplus  2.0.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
log4cplus::CLFSAppender Class Reference

#include <clfsappender.h>

Inheritance diagram for log4cplus::CLFSAppender:
[legend]
Collaboration diagram for log4cplus::CLFSAppender:
[legend]

List of all members.

Public Member Functions

 CLFSAppender (tstring const &logname, unsigned long logsize, unsigned long buffersize)
 CLFSAppender (helpers::Properties const &)
virtual ~CLFSAppender ()
virtual void close ()
 Release any resources allocated within the appender such as file handles, network connections, etc.

Static Public Member Functions

static void registerAppender ()

Protected Member Functions

virtual void append (spi::InternalLoggingEvent const &)
 Subclasses of Appender should implement this method to perform actual logging.
void init (tstring const &logname, unsigned long logsize, unsigned long buffersize)

Protected Attributes

Data * data

Detailed Description

Definition at line 63 of file clfsappender.h.


Constructor & Destructor Documentation

log4cplus::CLFSAppender::CLFSAppender ( tstring const &  logname,
unsigned long  logsize,
unsigned long  buffersize 
)

Member Function Documentation

virtual void log4cplus::CLFSAppender::append ( spi::InternalLoggingEvent const &  event) [protected, virtual]

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

See also:
doAppend method.

Implements log4cplus::Appender.

virtual void log4cplus::CLFSAppender::close ( ) [virtual]

Release any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

Implements log4cplus::Appender.

void log4cplus::CLFSAppender::init ( tstring const &  logname,
unsigned long  logsize,
unsigned long  buffersize 
) [protected]

Member Data Documentation

Data* log4cplus::CLFSAppender::data [protected]

Definition at line 82 of file clfsappender.h.


The documentation for this class was generated from the following file: