log4cpp::SimpleLayout(3)

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

πŸ’– log4cpp::SimpleLayout(3) πŸ’–

okay bestie, we’re in the Library Functions Manual for log4cpp::SimpleLayout(3), and this page is literally all about that fixed-format layout vibe. let’s go 🫢

🌸 NAME 🌸

  • log4cpp::SimpleLayout β€” the description says BasicLayout is a simple fixed format Layout implementation. yes, that’s the exact wording on the page, and I’m not renaming it, bestie πŸ’…

✨ SYNOPSIS ✨

#include <SimpleLayout.hh>

Inherits log4cpp::Layout.

πŸ’… Public Member Functions πŸ’…

  • SimpleLayout () β€” constructor with no arguments, slay ✨
  • virtual ~SimpleLayout () β€” virtual destructor, iconic as always πŸŽ€
  • virtual std::string format (const LoggingEvent &event) β€” formats the LoggingEvent in SimpleLayout style: "priority - message". " β€” yep, that trailing bit is exactly what’s on the page, no cap 😭

🫢 Public Member Functions inherited from log4cpp::Layout 🫢

  • virtual ~Layout () β€” destructor for Layout, periodt πŸ’œ

🌈 Detailed Description 🌈

BasicLayout is a simple fixed format Layout implementation.

that’s the whole detailed description, bestie β€” short, sweet, and very β€œmain character energy” πŸ’…

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

log4cpp::SimpleLayout::SimpleLayout ()

constructor signature, no extra description on the page ✨

log4cpp::SimpleLayout::~SimpleLayout () [virtual]

virtual destructor signature, no extra description on the page πŸ¦‹

🧚 Member Function Documentation 🧚

std::string log4cpp::SimpleLayout::format (const LoggingEvent & event)

[virtual]

Formats the LoggingEvent in SimpleLayout style: "priority - message".

Implements log4cpp::Layout.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4cpp from the source code.


and that’s the whole page, bestie 🫢 footer vibe check: log4cpp Version 1.1, page log4cpp::SimpleLayout(3). the footer doesn’t list a date, so I’m not inventing one β€” no cap πŸ’… mwah πŸ’‹

πŸ“¦ where this page comes from