log4cpp::TimeStampComponent - Man Page

Synopsis

Inherits log4cpp::PatternLayout::PatternComponent.

Public Member Functions

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

Public Member Functions inherited from log4cpp::PatternLayout::PatternComponent
virtual ~PatternComponent ()

Static Public Attributes

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'

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements log4cpp::PatternLayout::PatternComponent.

Member Data Documentation

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

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

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

Author

Generated automatically by Doxygen for log4cpp from the source code.

Info

Version 1.1.3 log4cpp