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 ()
IWriter setConduit (IConduit conduit)
synchronized void close ()

Private Attributes

FilePath[] paths
uint index
IWriter writer
ulong maxSize
ulong fileSize

Static Private Attributes

uint mask

Detailed Description

Append log messages to a file set.

Definition at line 54 of file RollingFileAppender.d.


Member Function Documentation

this  )  [inline, static]
 

Get a unique fingerprint for this class

Reimplemented from VersionMango::FileAppender.

Definition at line 69 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 81 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 106 of file RollingFileAppender.d.

uint getMask  )  [inline]
 

Return the fingerprint for this class

Reimplemented from VersionMango::FileAppender.

Definition at line 118 of file RollingFileAppender.d.

char [] getName  )  [inline]
 

Return the name of this class

Reimplemented from VersionMango::FileAppender.

Definition at line 129 of file RollingFileAppender.d.

synchronized void append Event  event  )  [inline]
 

Append an event to the output.

Reimplemented from VersionMango::FileAppender.

Definition at line 140 of file RollingFileAppender.d.

void nextFile  )  [inline, private]
 

Switch to the next file within the set

Definition at line 161 of file RollingFileAppender.d.

this FilePath  fp  )  [inline, inherited]
 

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

Definition at line 83 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 95 of file FileAppender.d.

IConduit getConduit  )  [inline, inherited]
 

Return the conduit

Definition at line 118 of file FileAppender.d.

IWriter setConduit IConduit  conduit  )  [inline, inherited]
 

Set the conduit

Definition at line 129 of file FileAppender.d.

References DisplayWriter.

synchronized void close  )  [inline, inherited]
 

Close the file associated with this Appender

Reimplemented from Appender.

Definition at line 178 of file FileAppender.d.


Member Data Documentation

uint mask [static, private]
 

Reimplemented from VersionMango::FileAppender.

Definition at line 56 of file RollingFileAppender.d.

FilePath [] paths [private]
 

Definition at line 57 of file RollingFileAppender.d.

uint index [private]
 

Definition at line 58 of file RollingFileAppender.d.

IWriter writer [private]
 

Reimplemented from VersionMango::FileAppender.

Definition at line 59 of file RollingFileAppender.d.

ulong maxSize [private]
 

Definition at line 60 of file RollingFileAppender.d.

ulong fileSize [private]
 

Definition at line 60 of file RollingFileAppender.d.


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:16 2004 for Mango by doxygen 1.3.6