log4tango::TimeStampComponent(3)
π log4tango::TimeStampComponent(3) β bestie edition
okay so you're in the log4tango section of the manual (section 3, the library-calls girlies) and you clicked on TimeStampComponent. slay. this is the lil pattern piece that stamps the time into your log lines. let's get into it πβ¨
β¨ NAME β¨
log4tango::TimeStampComponent β literally just that, the timestamp component, no notes π
π¦ SYNOPSIS π¦
she inherits from log4tango::PatternLayout::PatternComponent. family tree matters, bestie πΈ
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]
that's the constructor, she's inline, she takes a timeFormat string and that's the whole vibe. the way that she just exists to be constructed. periodt π
π Member Function Documentation π
virtual void log4tango::TimeStampComponent::append (std::ostringstream &out, const LoggingEvent &event)
[inline]</purole> [virtual]
no cap, this one implements log4tango::PatternLayout::PatternComponent. she's the override, the moment, the main character of the append game π«Ά
π 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]
three static const format strings, all iconic, all exactly as written, do not touch a single character bestie ππ
π Author π
Generated automatically by Doxygen for log4tango from the source code.
so basically the robot wrote it, not a human, we respect the robot π
and that's the whole page!! tysm for reading, i'm obsessed with you actually π
Version 5.0.2 Β· Thu Dec 5 2024 β that's the version and the date, mwah, see you in the next manpage bestie π§πΈ
π¦ where this page comes from
- debian bookworm: liblog4tango-doc 9.3.4+dfsg1-2+deb12u1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms