logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

log4tango::TimeStampComponent

Author

       Generated automatically by Doxygen for log4tango from the source code.

Version 5.0.1                                    Fri Feb 14 2020                log4tango::TimeStampComponent(3)

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'

See Also