log4cpp::BasicLayout(3)

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

πŸ’… bestie's guide to log4cpp::BasicLayout(3) πŸ’…

okay so this is the log4cpp::BasicLayout(3) page from the Library Functions Manual β€” welcome to the fixed-format layout corner of log4cpp, bestie. ✨

🌸 NAME 🌸

log4cpp::BasicLayout β€” BasicLayout is a simple fixed format Layout implementation. That's the whole NAME section, and it ate. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <BasicLayout.hh>

Inherits log4cpp::Layout. 🫢

πŸ’… Public Member Functions πŸ’…

  • BasicLayout () β€” constructor entry, exactly as listed. No extra description in the original, so I'm not adding lore. πŸ™ˆ
  • virtual ~BasicLayout () β€” virtual destructor entry, exactly as listed. Again, no extra description in the original. πŸŽ€
  • virtual std::string format (const LoggingEvent &event) β€” formats the LoggingEvent in BasicLayout style. The synopsis spells the format literally as "timeStamp priority category ndc: message". " β€” yes, that trailing quote is really there in the original, and I'm preserving it character-for-character. 😭✨

🫢 Public Member Functions inherited from log4cpp::Layout 🫢

  • virtual ~Layout () β€” destructor for Layout. That's the inherited destructor, doing its destructor thing. πŸ’…

πŸ’– Detailed Description πŸ’–

BasicLayout is a simple fixed format Layout implementation. Lowkey the whole point is that the format is fixed, and that's iconic. πŸ‘‘

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

  • log4cpp::BasicLayout::BasicLayout () β€” the constructor documentation entry, exactly as the original lists it. No description was provided there. ✨
  • log4cpp::BasicLayout::~BasicLayout () [virtual] β€” the virtual destructor documentation entry, exactly as the original lists it. No description was provided there either. 🫢

πŸ”₯ Member Function Documentation πŸ”₯

std::string log4cpp::BasicLayout::format (const LoggingEvent & event) [virtual]

Formats the LoggingEvent in BasicLayout style:

"timeStamp priority category ndc: message".

Implements log4cpp::Layout. No cap. πŸ’œ

🌟 Author 🌟

Author: Generated automatically by Doxygen for log4cpp from the source code. πŸ€–βœ¨


okay that's the whole page, bestie πŸ’– source/version: log4cpp Version 1.1; page: log4cpp::BasicLayout(3); date: not listed in the original footer, so I'm not inventing one β€” periodt. 🫢🌈

πŸ“¦ where this page comes from