Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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[] header (Event event)
char[] footer (Event event)
char[] content (Event event)
char[] ultoa (char[] s, ulong l)

Private Attributes

import mango log Logger

Detailed Description

Base class for all Layout instances

Definition at line 49 of file Layout.d.


Member Function Documentation

char [] header Event  event  ) 
 

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

Reimplemented in DateLayout, SimpleLayout, SimpleTimerLayout, and XmlLayout.

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

char [] footer Event  event  )  [inline]
 

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

Reimplemented in XmlLayout.

Definition at line 69 of file Layout.d.

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

char [] content Event  event  )  [inline]
 

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 SocketAppender::append(), NullAppender::append(), VersionIsolated::FileAppender::append(), and ConsoleAppender::append().

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

Convert a time value (in milliseconds) to ascii

Definition at line 92 of file Layout.d.

References assert().


Member Data Documentation

import mango log Logger [private]
 

Definition at line 51 of file Layout.d.


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 10:59:57 2005 for Mango by  doxygen 1.4.0