log4cpp::P...oughLayout(3)

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

πŸ’… log4cpp::PassThroughLayout

okay so this is the manual page for log4cpp::P...oughLayout(3) β€” yes the title got chopped in the header, it's PassThroughLayout, we been knew β€” and it lives in the Library Functions Manual, section 3. pull up a chair bestie, this one's short and sweet πŸ“


✨ NAME ✨

log4cpp::PassThroughLayout β€” the layout that literally just… passes things through. no cap, that's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <PassThroughLayout.hh>

Inherits log4cpp::Layout. so it's part of the layout family tree, got it πŸ‘‘

πŸŽ€ Public Member Functions πŸŽ€

  • virtual std::string format (const LoggingEvent &event) β€” Formats the LoggingEvent data to a string that appenders can log. that's the job, that's the assignment, she ate 🫢

🌸 Public Member Functions inherited from log4cpp::Layout 🌸

  • virtual ~Layout () β€” Destructor for Layout. it cleans up after herself, we love a tidy icon ✨

πŸ’– Member Function Documentation πŸ’–

⭐ virtual std::string log4cpp::PassThroughLayout::format (const LoggingEvent & event) [inline], [virtual]

Formats the LoggingEvent data to a string that appenders can log. fr fr, that's what it does.

The docs also say: implement this method to create your own layout format. so if you're out here making your own custom layout, this is the method you override β€” she's giving template energy 🧚

Parameters

  • event β€” The LoggingEvent. that's it, that's the param 🌈

Returns

an appendable string. something you can actually append, periodt πŸ’€

Implements log4cpp::Layout. (inheritance checked βœ…)


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4cpp from the source code. so nobody hand-wrote this, a robot did it, and honestly? slay πŸ€–πŸ’œ


aaaand that's the whole page bestie, you're officially an expert on PassThroughLayout 🌟 β€” this was log4cpp Version 1.1, straight from the Library Functions Manual, footer vibes and all. mwah, go log something cute πŸ’‹πŸŽ€

πŸ“¦ where this page comes from