log4shib::...pComponent(3)

πŸ“¦ version 2.0.1, in opensuse-leap 16.0

🌸 log4shib::...pComponent(3) β€” Library Functions Manual 🌸

Okay so bestie, welcome to the log4shib::...pComponent(3) page from the Library Functions Manual. This whole page is lowkey about log4shib::TimeStampComponent, and it's giving timestamp-layout realness. Let's go πŸ’…βœ¨

✨ NAME ✨

log4shib::TimeStampComponent

πŸ¦‹ SYNOPSIS πŸ¦‹

Inherits log4shib::PatternLayout::PatternComponent.

πŸ’– Public Member Functions πŸ’–

  • TimeStampComponent (std::string timeFormat) β€” the constructor, and it takes a std::string timeFormat.
  • virtual void append (std::ostringstream &out, const LoggingEvent &event) β€” the append member function, no cap, and yes it's virtual.

🫢 Public Member Functions inherited from log4shib::PatternLayout::PatternComponent 🫢

  • virtual ~PatternComponent () β€” the inherited virtual destructor.

🌈 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 πŸ› οΈ

  • log4shib::TimeStampComponent::TimeStampComponent (std::string timeFormat) β€” marked [inline]. It takes std::string timeFormat. This is the only constructor/destructor entry chilling in this section.

πŸ”₯ Member Function Documentation πŸ”₯

  • virtual void log4shib::TimeStampComponent::append (std::ostringstream & out, const LoggingEvent & event) β€” marked [inline], [virtual], and it implements log4shib::PatternLayout::PatternComponent. Main character energy for a member function, honestly πŸ˜­πŸ‘‘

πŸ“ Member Data Documentation πŸ“

  • const char *const log4shib::TimeStampComponent::FORMAT_ABSOLUTE = '%H:%M:%S,%l' β€” [static].
  • const char *const log4shib::TimeStampComponent::FORMAT_DATE = '%d %b %Y %H:%M:%S,%l' β€” [static].
  • const char *const log4shib::TimeStampComponent::FORMAT_ISO8601 = '%Y-%m-%d %H:%M:%S,%l' β€” [static].

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4shib from the source code. Doxygen really said "I'll handle the docs, you handle the vibes" πŸ˜­πŸ’–


That's the whole page, bestie 🫢 β€” from the Library Functions Manual, for log4shib Version 2.0.1, on the log4shib::...pComponent(3) page. The footer didn't list a date, so I'm not inventing one πŸ’…βœ¨