log4cpp::C...eComponent(3)

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

πŸ’… 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 a std::string specifier 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 a LoggingEvent πŸ’–

🌸 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 is log4cpp Version 1.1, serving log4cpp::C...eComponent(3) β€” signed off with love from your favorite manual page, mwah πŸ’‹πŸŽ€
πŸ“¦ where this page comes from