Main Page | Class Hierarchy | Alphabetical List | Class List | 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)

Public Attributes

public class VersionWin32
typedef _snprintf 
snprintf

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

Definition at line 53 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 65 of file DateLayout.d.

References Event::getEpochSeconds(), Event::getMilliSeconds(), Event::getName(), Layout::levelString(), Event::scratch, and snprintf.

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 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

public class VersionWin32 typedef _snprintf snprintf
 

Definition at line 55 of file DateLayout.d.

Referenced by header().


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 00:31:07 2005 for Mango by doxygen 1.3.6