Public Member Functions | Static Public Attributes | Private Attributes
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 130 of file PatternLayout.cpp.


Constructor & Destructor Documentation

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

Definition at line 135 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 154 of file PatternLayout.cpp.


Member Data Documentation

Definition at line 177 of file PatternLayout.cpp.

Definition at line 175 of file PatternLayout.cpp.

Definition at line 176 of file PatternLayout.cpp.

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

Definition at line 132 of file PatternLayout.cpp.

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

Definition at line 133 of file PatternLayout.cpp.

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

Definition at line 131 of file PatternLayout.cpp.


The documentation for this struct was generated from the following file:


log4cpp
Author(s): Stephen Roderick
autogenerated on Mon Oct 6 2014 03:13:15