log4cpp::TimeStampComponent Struct Reference

Inheritance diagram for log4cpp::TimeStampComponent:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void append (std::ostringstream &out, const LoggingEvent &event)
 TimeStampComponent (std::string timeFormat)

Static Public Attributes

static const char *const FORMAT_ABSOLUTE = "%H:%M:%S,%l"
static const char *const FORMAT_DATE = "%d %b %Y %H:%M:%S,%l"
static const char *const FORMAT_ISO8601 = "%Y-%m-%d %H:%M:%S,%l"

Private Attributes

bool _printMillis
std::string _timeFormat1
std::string _timeFormat2

Detailed Description

Definition at line 92 of file PatternLayout.cpp.


Constructor & Destructor Documentation

log4cpp::TimeStampComponent::TimeStampComponent ( std::string  timeFormat  )  [inline]

Definition at line 97 of file PatternLayout.cpp.


Member Function Documentation

virtual void log4cpp::TimeStampComponent::append ( std::ostringstream out,
const LoggingEvent event 
) [inline, virtual]

Implements log4cpp::PatternLayout::PatternComponent.

Definition at line 116 of file PatternLayout.cpp.


Member Data Documentation

Definition at line 139 of file PatternLayout.cpp.

Definition at line 137 of file PatternLayout.cpp.

Definition at line 138 of file PatternLayout.cpp.

const char *const log4cpp::TimeStampComponent::FORMAT_ABSOLUTE = "%H:%M:%S,%l" [static]

Definition at line 94 of file PatternLayout.cpp.

const char *const log4cpp::TimeStampComponent::FORMAT_DATE = "%d %b %Y %H:%M:%S,%l" [static]

Definition at line 95 of file PatternLayout.cpp.

const char *const log4cpp::TimeStampComponent::FORMAT_ISO8601 = "%Y-%m-%d %H:%M:%S,%l" [static]

Definition at line 93 of file PatternLayout.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


log4cpp
Author(s): Stephen Roderick
autogenerated on Fri Jan 11 09:51:56 2013