Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
log4cpp::RollingFileAppender Class Reference

Noop class that mimics the same class in the log4cpp library. More...

#include <RollingFileAppender.hh>

Inheritance diagram for log4cpp::RollingFileAppender:
Inheritance graph
Collaboration diagram for log4cpp::RollingFileAppender:
Collaboration graph

Public Member Functions

 RollingFileAppender (const std::string &name, const std::string &fileName, size_t maxFileSize, unsigned int maxBackupIndex, bool append)
 Single constructor.
 
virtual ~RollingFileAppender ()
 
void setMaxBackupIndex (unsigned int maxBackups)
 Noop method for setting the number of backups.
 
unsigned int getMaxBackupIndex () const
 Noop method for getting the number of backups.
 
void setMaximumFileSize (size_t maxFileSize)
 Noop method for setting the maximum file size.
 
size_t getMaxFileSize () const
 Noop method for getting the maximum file size.
 
bool getAppend () const
 Noop method for getting the append flag.
 
virtual void setLayout (Layout *layout)
 Set the layout for this Appender.
 
- Public Member Functions inherited from log4cpp::FileAppender
 FileAppender (const std::string &name)
 Single constructor.
 
virtual ~FileAppender ()
 
- Public Member Functions inherited from log4cpp::LayoutAppender
 LayoutAppender (const std::string &)
 Single constructor.
 
virtual ~LayoutAppender ()
 
- Public Member Functions inherited from log4cpp::Appender
virtual ~Appender ()
 

Detailed Description

Noop class that mimics the same class in the log4cpp library.

Definition at line 11 of file RollingFileAppender.hh.

Constructor & Destructor Documentation

◆ RollingFileAppender()

log4cpp::RollingFileAppender::RollingFileAppender ( const std::string & name,
const std::string & fileName,
size_t maxFileSize,
unsigned int maxBackupIndex,
bool append )

Single constructor.

Definition at line 5 of file RollingFileAppender.cpp.

9 :
11 m_fileName (fileName),
12 m_maxFileSize (maxFileSize),
13 m_maxBackupIndex (maxBackupIndex),
14 m_append (append)
15 {
16 }
const int INNER_RADIUS_MIN
FileAppender(const std::string &name)
Single constructor.

◆ ~RollingFileAppender()

log4cpp::RollingFileAppender::~RollingFileAppender ( )
virtual

Definition at line 18 of file RollingFileAppender.cpp.

19 {
20 }

Member Function Documentation

◆ getAppend()

bool log4cpp::RollingFileAppender::getAppend ( ) const

Noop method for getting the append flag.

Definition at line 26 of file RollingFileAppender.cpp.

27 {
28 return m_append;
29 }

◆ getMaxBackupIndex()

unsigned int log4cpp::RollingFileAppender::getMaxBackupIndex ( ) const

Noop method for getting the number of backups.

Definition at line 31 of file RollingFileAppender.cpp.

32 {
33 return m_maxBackupIndex;
34 }

◆ getMaxFileSize()

size_t log4cpp::RollingFileAppender::getMaxFileSize ( ) const

Noop method for getting the maximum file size.

Definition at line 41 of file RollingFileAppender.cpp.

42 {
43 return m_maxFileSize;
44 }

◆ setLayout()

void log4cpp::RollingFileAppender::setLayout ( Layout * layout)
virtual

Set the layout for this Appender.

Implements log4cpp::LayoutAppender.

Definition at line 46 of file RollingFileAppender.cpp.

47 {
48 }

◆ setMaxBackupIndex()

void log4cpp::RollingFileAppender::setMaxBackupIndex ( unsigned int maxBackups)

Noop method for setting the number of backups.

Definition at line 22 of file RollingFileAppender.cpp.

23 {
24 }

◆ setMaximumFileSize()

void log4cpp::RollingFileAppender::setMaximumFileSize ( size_t maxFileSize)

Noop method for setting the maximum file size.

Definition at line 36 of file RollingFileAppender.cpp.

37 {
38 m_maxFileSize = maxFileSize;
39 }

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