layout_type_basic.h(3)
π layout_type_basic.h(3) π
ok so bestie, we're in the Library Functions Manual today and this is literally the whole page for layout_type_basic.h. it's short, it's sweet, it's giving minimal but iconic. let's get into it π«Ά
β¨ NAME β¨
layout_type_basic.h β implement a basic layout. that's it, that's the whole job. no cap. π
πΈ SYNOPSIS πΈ
#include <log4c/defs.h>
#include <log4c/layout.h>
like, just pull in those two headers and you're set. that's the vibe check. β¨
π¦ Detailed Description π¦
bestie. it implements a basic layout. π
and here's the fun part: in log4j.PatternLayout conventions, this basic layout has the following conversion pattern:
"%P %c - %m\n"
and here's what all that means, one by one, no gatekeeping π₯
"%P"β this is the priority of the logging event"%c"β this is the category of the logging event"%m"β this is the application supplied message associated with the logging event
so yeah, priority, category, dash, message, newline. main character formatting honestly. π
π Author π
generated automatically by Doxygen for log4c from the source code. not me getting auto-generated, slay. π€β¨
ok that's the whole page, you ate that. this was log4c, Version 1.2.4, and you've been reading layout_type_basic.h(3) π mwah, go forth and log responsibly π§πΈ
π¦ where this page comes from
- fedora 43: log4c-devel 1.2.4-34.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: log4c-devel 1.2.4-34.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: log4c-devel 1.2.4-35.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: log4c-devel 1.2.4-35.fc44 Β· LicenseRef-Callaway-LGPLv2+
- ubuntu stonking: liblog4c-doc 1.2.4-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms