log4cpp::P...nComponent(3)

πŸ“¦
version 1.1.4 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… NAME

log4cpp::PatternLayout::PatternComponent β€” bestie, this is the abstract base-class vibe at the heart of log4cpp's pattern layout system ✨

Oh, and welcome to the Library Functions Manual, bestie, that's the collection we're hanging out in 🫢


🌸 SYNOPSIS

#include <PatternLayout.hh>

Inherited by log4cpp::CategoryNameComponent, log4cpp::FormatModifierComponent, log4cpp::MessageComponent, log4cpp::MillisSinceEpochComponent, log4cpp::NDCComponent, log4cpp::PriorityComponent, log4cpp::ProcessorTimeComponent, log4cpp::SecondsSinceEpochComponent, log4cpp::StringLiteralComponent, log4cpp::ThreadNameComponent, and log4cpp::TimeStampComponent.

Like, that's a whole friend group of subclasses, no cap πŸ‘‘

✨ Public Member Functions

  • virtual ~PatternComponent() β€” the destructor, lowkey doing cleanup duty 🧹
  • virtual void append(std::ostringstream &out, const LoggingEvent &event)=0 β€” it's giving pure virtual, so every subclass must show up and implement it πŸ’…

πŸŽ€ Constructor & Destructor Documentation

virtual log4cpp::PatternLayout::PatternComponent::~PatternComponent() β€” [inline], [virtual]

That's the destructor, marked [inline] and [virtual], so it's iconic in exactly the way the compiler cares about πŸ¦‹


πŸ’– Member Function Documentation

virtual void log4cpp::PatternLayout::PatternComponent::append(std::ostringstream & out, const LoggingEvent & event) β€” [pure virtual]

Pure virtual, periodt. Every subclass has to bring their own implementation to the function β€” no shortcuts, no skipping πŸ”₯

Implemented in log4cpp::CategoryNameComponent, log4cpp::FormatModifierComponent, log4cpp::MessageComponent, log4cpp::MillisSinceEpochComponent, log4cpp::NDCComponent, log4cpp::PriorityComponent, log4cpp::ProcessorTimeComponent, log4cpp::SecondsSinceEpochComponent, log4cpp::StringLiteralComponent, log4cpp::ThreadNameComponent, and log4cpp::TimeStampComponent.

Same eleven besties from up top β€” they all showed up and did the assignment 😭🫢


🌈 Author

Generated automatically by Doxygen for log4cpp from the source code. So like, a robot wrote the original, and honestly? She ate πŸ€–βœ¨


And that's the whole page, bestie πŸ’œ Now go forth and append your little heart out.

Kisses and good vibes from the log4cpp girlies β€” Version 1.1 of the manual, mwah πŸ’‹πŸŽ€

log4cpp::P...nComponent(3) β€” stay iconic, bestie βœ¨πŸ’…

πŸ“¦ where this page comes from