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 |
Definition at line 130 of file PatternLayout.cpp.
log4cpp::TimeStampComponent::TimeStampComponent | ( | std::string | timeFormat | ) | [inline] |
Definition at line 135 of file PatternLayout.cpp.
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.
bool log4cpp::TimeStampComponent::_printMillis [private] |
Definition at line 177 of file PatternLayout.cpp.
std::string log4cpp::TimeStampComponent::_timeFormat1 [private] |
Definition at line 175 of file PatternLayout.cpp.
std::string log4cpp::TimeStampComponent::_timeFormat2 [private] |
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.