log4cpp::C...eComponent(3)
π NAME π
log4cpp::CategoryNameComponent β bestie, this is the lil pattern component that handles category names, and we're gonna get you so comfy with it π«Ά
Oh and hey, real quick before we dive in β this page lives in the Library Functions Manual section of the log4cpp::C...eComponent(3) manpage, so that's the vibe. Library functions. Very demure. Very coder-girl. β¨
β¨ SYNOPSIS β¨
It inherits from log4cpp::PatternLayout::PatternComponent, so it's got that PatternComponent DNA going on 𧬠β main character energy, honestly.
π«Ά Public Member Functions
CategoryNameComponent (std::string specifier)β the constructor, takes astd::stringspecifier and gets itself set up πvirtual void append (std::ostringstream &out, const LoggingEvent &event)β the glow-up method, it appends stuff into an output stream using aLoggingEventπ
πΈ Public Member Functions inherited from log4cpp::PatternLayout::PatternComponent
Because it inherits from log4cpp::PatternLayout::PatternComponent, it also gets these for free, no cap:
virtual ~PatternComponent ()β the destructor, inherited, living its life π
π Constructor & Destructor Documentation π
log4cpp::CategoryNameComponent::CategoryNameComponent (std::string specifier) [inline]
This is the constructor, and it's [inline] β it takes a std::string called specifier and that's literally it. Short and iconic. π
π₯ Member Function Documentation π₯
virtual void log4cpp::CategoryNameComponent::append (std::ostringstream & out, const LoggingEvent & event) [inline], [virtual]
So this one is [inline] and [virtual], double threat π
β it takes an std::ostringstream & named out plus a const LoggingEvent & named event.
It Implements log4cpp::PatternLayout::PatternComponent. That's the whole note β it's the implementation of the parent's virtual, periodt. β¨
π Author π
Generated automatically by Doxygen for log4cpp from the source code. Not a human, not a bestie, just Doxygen doing its thing π€π (no shade, we respect the automation).
Okay that's the whole page, ily, go log your categories with your whole chest π¦πΈ
This islog4cppVersion 1.1, servinglog4cpp::C...eComponent(3)β signed off with love from your favorite manual page, mwah ππ
π¦ 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