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

SimpleLayout Class Reference

Inheritance diagram for SimpleLayout:

Layout List of all members.

Public Member Functions

char[] header (Event event)

Static Public Member Functions

 this ()

Static Protected Attributes

SimpleLayout simpleLayout

Private Member Functions

char[] footer (Event event)
char[] content (Event event)
final char[] levelString (Event event)
char[] ultoa (char[] s, ulong l)

Detailed Description

A simple layout comprised only of level, name, and message

Definition at line 123 of file Layout.d.


Member Function Documentation

this  )  [inline, static]
 

Make one of these available for use as the default layout

Definition at line 133 of file Layout.d.

References simpleLayout.

char [] header Event  event  )  [inline]
 

Format outgoing message

Reimplemented from Layout.

Definition at line 144 of file Layout.d.

References Event::append().

char [] footer Event  event  )  [inline, inherited]
 

Subclasses should implement this method to perform the formatting of each message footer

Definition at line 69 of file Layout.d.

Referenced by VersionIsolated::FileAppender::append(), and ConsoleAppender::append().

char [] content Event  event  )  [inline, inherited]
 

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

Definition at line 81 of file Layout.d.

References Event::toString().

Referenced by VersionIsolated::FileAppender::append(), and ConsoleAppender::append().

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

Return a text string representing the event level.

Definition at line 92 of file Layout.d.

References Event::getLevel().

Referenced by DateLayout::header().

char [] ultoa char[]  s,
ulong  l
[inline, inherited]
 

Convert a time value (in milliseconds) to ascii

Definition at line 103 of file Layout.d.

References assert().


Member Data Documentation

SimpleLayout simpleLayout [static, protected]
 

Definition at line 125 of file Layout.d.

Referenced by this().


The documentation for this class was generated from the following file:
Generated on Sat Apr 9 20:11:43 2005 for Mango by doxygen 1.3.6