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

SimpleTimerLayout Class Reference

Inheritance diagram for SimpleTimerLayout:

Layout List of all members.

Public Member Functions

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

Private Member Functions

final char[] levelString (Event event)

Detailed Description

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

Definition at line 111 of file Layout.d.


Member Function Documentation

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

Convert a time value (in milliseconds) to ascii

Definition at line 119 of file Layout.d.

Referenced by format().

char [] format Event  event  )  [inline]
 

Format outgoing message

Reimplemented from Layout.

Definition at line 137 of file Layout.d.

References Event::getTime(), time, and ultoa().

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

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().


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