log4tango::For...ifierComponent(3)
π NAME π
log4tango::FormatModifierComponent β the lil pattern-layout glow-up that wraps another component and pads/trims it to fit, bestie. This page lives in the log4tango manual, section 3.
β¨ SYNOPSIS β¨
Inherits log4tango::PatternLayout::PatternComponent. So it's a PatternComponent that's also holding a PatternComponent. Nested main character energy, we love to see it. π«Ά
π Public Member Functions
FormatModifierComponent(PatternLayout::PatternComponent *component, int minWidth, int maxWidth)β build one, hand it a component to babysit plus the min and max width.virtual ~FormatModifierComponent()β virtual destructor, she cleans up properly. πvirtual void append(std::ostringstream &out, const LoggingEvent &event)β writes the formatted output into the stream.
πΈ Constructor & Destructor Documentation πΈ
π log4tango::FormatModifierComponent::FormatModifierComponent
FormatModifierComponent(PatternLayout::PatternComponent *component,
int minWidth,
int maxWidth) [inline]
Takes a component to wrap, a minWidth, and a maxWidth. It's [inline], periodt.
π¦ virtual log4tango::FormatModifierComponent::~FormatModifierComponent()
virtual ~FormatModifierComponent() [inline], [virtual]
The destructor. Marked [inline] and [virtual], no cap. She says goodbye with grace. π
π Member Function Documentation π
β virtual void log4tango::FormatModifierComponent::append(std::ostringstream &out, const LoggingEvent &event)
virtual void append(std::ostringstream &out, const LoggingEvent &event)
[inline], [virtual]
The one job: take an out stream and an event, do the appending thing.
Implements log4tango::PatternLayout::PatternComponent. That's the whole note β it's fulfilling the interface promise, iykyk. β¨
π Author π
Generated automatically by Doxygen for log4tango from the source code. Not a human author, just Doxygen doing its little robot thing. π€π
Version 5.0.2 Β· Thu Dec 5
That's the whole page, bestie β Doxygen-generated, version 5.0.2, dated Thu Dec 5, straight out of the log4tango source code. Slay, go format something. πβ¨π
π¦ 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