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

Layout Class Reference

Inheritance diagram for Layout:

DateLayout SimpleLayout SimpleTimerLayout XmlLayout List of all members.

Public Member Functions

char[] format (Event event)

Protected Member Functions

final char[] levelString (Event event)

Private Attributes

import mango log Logger

Detailed Description

Base class for all Layout instances

Definition at line 46 of file Layout.d.


Member Function Documentation

char [] format Event  event  ) 
 

Subclasses should implement this method to perform the actual message formatting.

Reimplemented in DateLayout, SimpleLayout, SimpleTimerLayout, and XmlLayout.

Referenced by NullAppender::append(), and ConsoleAppender::append().

final char [] levelString Event  event  )  [inline, protected]
 

Return a text string representing the event level.

Definition at line 65 of file Layout.d.

References Event::getLevel().

Referenced by XmlLayout::format(), SimpleLayout::format(), and DateLayout::format().


Member Data Documentation

import mango log Logger [private]
 

Definition at line 48 of file Layout.d.


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