Inheritance diagram for burst.logging.Appender:
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 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.
|