log4tango::XMLLayout(3)

πŸ“¦
version 9.3.4 Β· 2 versions
, in debian bookworm

πŸ’– log4tango::XMLLayout β€” the tea β˜•

okay bestie, gather round, because we're talking about log4tango::XMLLayout from the log4tango manual (section 3, obvs). Short version: it's a simple fixed format Layout implementation. That's it. That's the whole vibe. It takes your logging events and wraps them in XML, no drama, no customization, just vibes and angle brackets. πŸŽ€


✨ NAME ✨

log4tango::XMLLayout β€” a simple fixed format Layout implementation, and honestly? she's lowkey iconic for it. πŸ’…


🌸 SYNOPSIS 🌸

#include <XmlLayout.hh>

Inherits log4tango::Layout. Yes bestie, she's part of the family. πŸ‘‘

🫢 Public Member Functions

  • XMLLayout () β€” the Ctor, aka the glow-up moment where she comes into existence.
  • virtual ~XMLLayout () β€” the Dtor, aka the goodbye, we don't talk about it. 😭
  • virtual std::string format (const LoggingEvent &event) β€” takes your LoggingEvent and formats it in XML. slay.

πŸ’œ Detailed Description πŸ’œ

XMLLayout is a simple fixed format Layout implementation.

fr fr that's the whole description. no extra lore, no hidden features, just a Layout that does XML and does it consistently. periodt. 🌈


🧚 Constructor & Destructor Documentation 🧚

log4tango::XMLLayout::XMLLayout ()

Ctor. πŸ’–

log4tango::XMLLayout::~XMLLayout () [virtual]

Dtor. πŸ’€


⭐ Member Function Documentation ⭐

std::string log4tango::XMLLayout::format (const LoggingEvent & event) [virtual]

Formats the LoggingEvent in XML. That's her main character moment, honestly. πŸ‘‘

Reimplemented from log4tango::Layout.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4tango from the source code. Not a human, not a bestie, just a robot doing her little robot thing. πŸ€–βœ¨


ngl, this whole page was basically three functions and a dream. but that's the point β€” fixed format means fixed format, and she ate. πŸ“

so yeah, that's log4tango::XMLLayout(3), Version 5.0.2, dated Thu Dec 5 2024 β€” the manpage itself came straight from the log4tango source, and now you know her. go forth and format your events in XML, bestie πŸ¦‹πŸ’…

πŸ“¦ where this page comes from