Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

VersionMango::RollingFileAppender Class Reference

Inheritance diagram for VersionMango::RollingFileAppender:

VersionMango::FileAppender List of all members.

Public Member Functions

 this (FilePath p, int count, ulong maxSize)
 this (FilePath p, int count, ulong maxSize, Layout layout)
uint getMask ()
char[] getName ()
synchronized void append (Event event)

Static Public Member Functions

 this ()

Private Member Functions

void nextFile ()
 this (FilePath fp)
 this (FilePath fp, Layout layout)
IConduit getConduit ()
IBuffer setConduit (IConduit conduit)
synchronized void close ()

Private Attributes

FilePath[] paths
int index
IBuffer buffer
ulong maxSize
ulong fileSize

Static Private Attributes

uint mask

Detailed Description

Append log messages to a file set.

Definition at line 57 of file RollingFileAppender.d.


Member Function Documentation

this  )  [inline, static]
 

Get a unique fingerprint for this class

Reimplemented from VersionMango::FileAppender.

Definition at line 72 of file RollingFileAppender.d.

this FilePath  p,
int  count,
ulong  maxSize
[inline]
 

Create a basic RollingFileAppender to a file-set with the specified path.

Definition at line 84 of file RollingFileAppender.d.

this FilePath  p,
int  count,
ulong  maxSize,
Layout  layout
[inline]
 

Create a basic RollingFileAppender to a file-set with the specified path, and with the given Layout

Definition at line 110 of file RollingFileAppender.d.

uint getMask  )  [inline]
 

Return the fingerprint for this class

Reimplemented from VersionMango::FileAppender.

Definition at line 122 of file RollingFileAppender.d.

char [] getName  )  [inline]
 

Return the name of this class

Reimplemented from VersionMango::FileAppender.

Definition at line 133 of file RollingFileAppender.d.

synchronized void append Event  event  )  [inline]
 

Append an event to the output.

Reimplemented from VersionMango::FileAppender.

Definition at line 144 of file RollingFileAppender.d.

References Layout::content(), Layout::footer(), and Layout::header().

void nextFile  )  [inline, private]
 

Switch to the next file within the set

Definition at line 178 of file RollingFileAppender.d.

this FilePath  fp  )  [inline, inherited]
 

Create a basic FileAppender to a file with the specified path.

Definition at line 90 of file FileAppender.d.

this FilePath  fp,
Layout  layout
[inline, inherited]
 

Create a basic FileAppender to a file with the specified path, and with the given Layout

Definition at line 102 of file FileAppender.d.

IConduit getConduit  )  [inline, inherited]
 

Return the conduit

Definition at line 125 of file FileAppender.d.

IBuffer setConduit IConduit  conduit  )  [inline, protected, inherited]
 

Set the conduit

Definition at line 136 of file FileAppender.d.

References IConduit::createBuffer().

synchronized void close  )  [inline, inherited]
 

Close the file associated with this Appender

Reimplemented from Appender.

Definition at line 187 of file FileAppender.d.


Member Data Documentation

uint mask [static, private]
 

Reimplemented from VersionMango::FileAppender.

Definition at line 59 of file RollingFileAppender.d.

FilePath [] paths [private]
 

Definition at line 60 of file RollingFileAppender.d.

int index [private]
 

Definition at line 61 of file RollingFileAppender.d.

IBuffer buffer [private]
 

Reimplemented from VersionMango::FileAppender.

Definition at line 62 of file RollingFileAppender.d.

ulong maxSize [private]
 

Definition at line 63 of file RollingFileAppender.d.

ulong fileSize [private]
 

Definition at line 63 of file RollingFileAppender.d.


The documentation for this class was generated from the following file:
Generated on Tue Jan 25 21:18:45 2005 for Mango by doxygen 1.3.6