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

burst.logging.Appender Class Reference

Inheritance diagram for burst.logging.Appender:

burst.logging.AppenderBuffer burst.logging.AppenderIframe List of all members.

Detailed Description

Base class for a logging destination.

The only requirement that burst.logging.Log has for its appenders is that they either be an Object with a method format(), or they be a Function implementing that signature.

The burst.logging.Appender is a convenience base class which implements format() in terms of an abstract method appendl(line). You can either inherit from this class and override this.appendl, or you can instantiate this class and pass in an implementation.


Public Member Functions

 Appender (Function appendl, Function format)
 Constructor The appendl and format arguments are a convenience in case you'd rather create an burst.logging.Appender without subclassing.


Constructor & Destructor Documentation

burst.logging.Appender.Appender Function  appendl,
Function  format
 

Constructor The appendl and format arguments are a convenience in case you'd rather create an burst.logging.Appender without subclassing.

There is a default implementation for format, but none for appendl.

Parameters:
appendl Optional argument providing an implementation for the appendl() method.
format Optional argument providing an implementation for the format() method.


The documentation for this class was generated from the following file:
Generated on Tue Nov 30 04:03:08 2004 for BurstProject by doxygen 1.3.4