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

SimpleTimerLayout Class Reference

Inheritance diagram for SimpleTimerLayout:

Layout List of all members.

Public Member Functions

char[] header (Event event)

Private Member Functions

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

Detailed Description

A simple layout comprised only of time(ms), level, name, and message

Definition at line 148 of file Layout.d.


Member Function Documentation

char [] header Event  event  )  [inline]
 

Format outgoing message

Reimplemented from Layout.

Definition at line 156 of file Layout.d.

References Event::append(), Event::getContent(), Event::getLevelName(), Event::getName(), and Event::getTime().

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

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

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

Convert a time value (in milliseconds) to ascii

Definition at line 92 of file Layout.d.

References assert().


The documentation for this class was generated from the following file:
Generated on Fri May 27 18:12:03 2005 for Mango by  doxygen 1.4.0