log4cpp::F...rComponent(3)
π NAME
log4cpp::FormatModifierComponent β bestie, this is the little layout gremlin that handles the width-and-alignment glow-up for your log output β¨
π SYNOPSIS
Inherits log4cpp::PatternLayout::PatternComponent. That's its whole ancestry, no cap β it's a PatternComponent girlie through and through, and it did inherit those genes.
πΈ Public Member Functions
FormatModifierComponent(PatternLayout::PatternComponent *component, size_t minWidth, size_t maxWidth, bool alignLeft)β the constructor, it's giving "build me a formatted component" energyvirtual ~FormatModifierComponent()β the destructor, virtual, so it cleans up properly like the icon it isvirtual void append(std::ostringstream &out, const LoggingEvent &event)β literally writes the formatted thing into the stream π
π«Ά Public Member Functions inherited from log4cpp::PatternLayout::PatternComponent
virtual ~PatternComponent()β yeah the parent class's virtual destructor, inherited, obviously. Family trait π
π§ Constructor & Destructor Documentation
π log4cpp::FormatModifierComponent::FormatModifierComponent
(PatternLayout::PatternComponent * component,
size_t minWidth,
size_t maxWidth,
bool alignLeft) [inline]
That's the whole signature, bestie β component, minWidth, maxWidth, alignLeft, all of it, and yes it's marked [inline] π
β virtual log4cpp::FormatModifierComponent::~FormatModifierComponent ()
[inline], [virtual]
The destructor! [inline] and [virtual] β double threat, ate that, periodt π₯
π Member Function Documentation
π virtual void log4cpp::FormatModifierComponent::append
(std::ostringstream & out, const LoggingEvent & event) [inline], [virtual]
Implements log4cpp::PatternLayout::PatternComponent. That's the tea β append here is doing what the parent class promised it would do π
π Author
Generated automatically by Doxygen for log4cpp from the source code. Not me manually typing this out with my little claws, the tooling did that π
Fr fr, this page was served up as log4cpp::F...rComponent(3) from the Library Functions Manual, and it's log4cpp Version 1.1 β k bye, slay, go format something pretty π
β¨ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms