log4tango::Pat...tternComponent(3)
π NAME π
log4tango::PatternLayout::PatternComponent β bestie, it's the abstract base class at the heart of the pattern layout situation β¨
πΈ SYNOPSIS πΈ
#include <PatternLayout.hh>
So like, you pull in the header and thenβ¦
Inherited by log4tango::FormatModifierComponent, log4tango::LevelComponent, log4tango::LoggerNameComponent, log4tango::MessageComponent, log4tango::MillisSinceEpochComponent, log4tango::ProcessorTimeComponent, log4tango::SecondsSinceEpochComponent, log4tango::StringLiteralComponent, log4tango::ThreadIdComponent, log4tango::ThreadNameComponent, and log4tango::TimeStampComponent. π¦
Like it's literally the mom friend of the whole component squad. Everybody inherits from her. Queen behaviour π
β¨ Public Member Functions β¨
virtual ~PatternComponent()β the destructor, doing its lil cleanup moment πvirtual void append(std::ostringstream &out, const LoggingEvent &event)=0β the pure virtual one, aka the assignment every child class has to do or it doesn't get to sit with us π
π Constructor & Destructor Documentation π
virtual log4tango::PatternLayout::PatternComponent::~PatternComponent()
[inline], [virtual] β yeah bestie, inline and virtual, she contains multitudes π
π₯ Member Function Documentation π₯
virtual void log4tango::PatternLayout::PatternComponent::append(std::ostringstream &out, const LoggingEvent &event) [pure virtual]
Implemented in log4tango::StringLiteralComponent, log4tango::ProcessorTimeComponent, log4tango::LoggerNameComponent, log4tango::MessageComponent, log4tango::LevelComponent, log4tango::ThreadNameComponent, log4tango::ThreadIdComponent, log4tango::TimeStampComponent, log4tango::SecondsSinceEpochComponent, log4tango::MillisSinceEpochComponent, and log4tango::FormatModifierComponent. π
Ngl, it's pure virtual, so you cannot just instantiate PatternComponent on its own β no cap, it's giving "abstract" and it means it. You gotta go through one of the subclasses up there. π
π Author π
Generated automatically by Doxygen for log4tango from the source code. So nobody hand-wrote this, the robot did it, and honestly? She ate. π€π
Okay so that's the whole vibe check on log4tango::Pat...tternComponent(3) from the log4tango manual β Version 5.0.2, dated Thu Dec 5. Slay, go forth and subclass responsibly, 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