log4tango::TimeStampComponent
Contents
Constructor & Destructor Documentation
log4tango::TimeStampComponent::TimeStampComponent(std::stringtimeFormat)[inline]
Member Data Documentation
constchar*constlog4tango::TimeStampComponent::FORMAT_ABSOLUTE='%H:%M:%S,%l'[static]constchar*constlog4tango::TimeStampComponent::FORMAT_DATE='%d%b%Y%H:%M:%S,%l'[static]constchar*constlog4tango::TimeStampComponent::FORMAT_ISO8601='%Y-%m-%d%H:%M:%S,%l'[static]
Member Function Documentation
virtualvoidlog4tango::TimeStampComponent::append(std::ostringstream&out,constLoggingEvent&event)[inline],[virtual]
Implements log4tango::PatternLayout::PatternComponent.
Name
log4tango::TimeStampComponent
Synopsis
Inherits log4tango::PatternLayout::PatternComponent.
PublicMemberFunctionsTimeStampComponent (std::string timeFormat)
virtual void append (std::ostringstream &out, const LoggingEvent &event)
StaticPublicAttributes
static const char *const FORMAT_ISO8601 = '%Y-%m-%d %H:%M:%S,%l'
static const char *const FORMAT_ABSOLUTE = '%H:%M:%S,%l'
static const char *const FORMAT_DATE = '%d %b %Y %H:%M:%S,%l'
