LOG4C_LAYOUT_TYPE_DATED_LOCAL.H(3)

πŸ’– layout_type_dated_local.h(3) πŸ’–

okay so bestie, welcome to the Library Functions Manual ✨ section 3, we're in the library functions girlies today πŸŽ€


✨ NAME ✨

layout_type_dated_local.h β€” the header that implements a dated layout with local time πŸ•°οΈπŸ’…


🌸 SYNOPSIS 🌸

#include <log4c/defs.h>
#include <log4c/layout.h>

πŸ¦‹ Detailed Description πŸ¦‹

So basically: this one implements a dated layout with local time. periodt. πŸ’œ

And if you speak log4j.PatternLayout conventions β€” which, iykyk β€” the dated layout uses this conversion pattern, exactly:

"%d %P %c - %m\n"

where, let me break it down for you:

  • "%d" β€” the date of the logging event πŸ“…
  • "%P" β€” the priority of the logging event πŸ”₯
  • "%c" β€” the category of the logging event 🏷️
  • "%m" β€” the application supplied message associated with the logging event πŸ’¬

no cap, that's the whole vibe. four little placeholders and a newline, and she's serving ✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4c from the source code. not me getting written by a doc generator 😭 she ate tho fr fr 🫢


okay that's the whole page bestie, love that for us πŸ’– this was log4c Version 1.2.4, and yeah the header/footer was giving layout_typ...ted_local.h(3) the whole time β€” it's iconic, it's abbreviated, it's literally the same name twice. slay πŸŽ€βœ¨ bye!!

πŸ“¦ where this page comes from