Scroll to navigation

log4tango::TimeStampComponent(3) log4tango log4tango::TimeStampComponent(3)

NAME

log4tango::TimeStampComponent

SYNOPSIS

Inherits log4tango::PatternLayout::PatternComponent.

Public Member Functions


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

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

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

Member Function Documentation

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

Implements log4tango::PatternLayout::PatternComponent.

Member Data Documentation

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

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

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

Author

Generated automatically by Doxygen for log4tango from the source code.

Fri Nov 11 2022 Version 5.0.2