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

DateLayout Class Reference

Inheritance diagram for DateLayout:

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 layout with ISO-8601 date information prefixed to each message.

Definition at line 54 of file DateLayout.d.


Member Function Documentation

char [] header Event  event  )  [inline]
 

Format message attributes into an output buffer and return the populated portion.

Reimplemented from Layout.

Definition at line 63 of file DateLayout.d.

References Event::getEpochTime(), Event::getLevelName(), Event::getName(), Event::getTime(), and Event::scratch.

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:00 2005 for Mango by  doxygen 1.4.0