log4cpp::BasicLayout(3)
π
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 theLoggingEventin 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 forLayout. 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
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· 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