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