log4shib::BasicLayout(3)
β¨ NAME β¨
Hey bestie, welcome to the log4shib::BasicLayout(3) page in the Library Functions Manual π
log4shib::BasicLayout β okay so this is a simple fixed-format Layout implementation. Thatβs the whole vibe: it formats stuff in a set layout, no cap β¨
πΈ SYNOPSIS πΈ
#include <BasicLayout.hh>
It inherits from log4shib::Layout, bestie π«Ά
π Public Member Functions π
BasicLayout ()β the constructor. Yep, thatβs it, sheβs here πvirtual ~BasicLayout ()β the virtual destructor. Cleanup queen behavior πvirtual std::string format (const LoggingEvent &event)β formats theLoggingEventinBasicLayoutstyle:"timeStamp priority category ndc: message". Iconic fixed format, fr fr β¨
π Public Member Functions inherited from log4shib::Layout π
virtual ~Layout ()β destructor forLayout. Gotta clean up yourLayouttoo, bestie π§
π¦ Detailed Description π¦
BasicLayout is a simple fixed format Layout implementation. Lowkey straightforward, highkey useful β it does the formatting thing and doesnβt overcomplicate the group chat π
π Constructor & Destructor Documentation π
log4shib::BasicLayout::BasicLayout ()
Hereβs the constructor: BasicLayout (). No extra drama in the signature β she just exists πΈ
log4shib::BasicLayout::~BasicLayout () [virtual]
And hereβs the destructor: ~BasicLayout (). Itβs virtual, periodt π
β Member Function Documentation β
std::string log4shib::BasicLayout::format (const LoggingEvent & event)
[virtual]
This one formats the LoggingEvent in BasicLayout style:
"timeStamp priority category ndc: message"
Implements log4shib::Layout. Slay π
π Author π
Generated automatically by Doxygen for log4shib from the source code. Not me, not you β Doxygen doing its little robot dance π«Άβ¨
Cute sign-off time, bestie: this page is from log4shib, Version 2.0.1, and itβs the log4shib::BasicLayout(3) manual page. Thereβs literally no date in the footer β just version, page name, and vibes π
π
π¦ where this page comes from
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms