layout_type_dated_r.h(3)

✨ layout_type_dated_r.h(3) ✨

okay bestie, so this is a page from the log4c manual β€” that's the library name btw, iykyk πŸ’… β€” and today we're talking about layout_type_dated_r.h. yes it's a header file, yes it's a whole vibe, let's get into it πŸ¦‹


🌸 NAME 🌸

layout_type_dated_r.h β€” bestie. it implements a dated_r layout. that's the whole job. periodt πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

like, include these, obviously:

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

🫢 Detailed Description 🫢

Implement a dated_r layout. no cap, that's literally it ✨

now here's the tea πŸ“ β€” in log4j.PatternLayout conventions, the dated_r layout rocks this conversion pattern:

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

and the way that breaks down, queen by queen πŸ‘‘:

  • "%d" is the date of the logging event
  • "%P" is the priority of the logging event
  • "%c" is the category of the logging event
  • "%m" is the application supplied message associated with the logging event

so like. date, priority, category, message, newline. slay. that's the whole layout. ate and left no crumbs πŸ’…


🌈 Author 🌈

Generated automatically by Doxygen for log4c from the source code. not a human, just a robot doing its lil thing πŸ€–βœ¨ iconic honestly.


okay that's the page!! this was the log4c manual, Version 1.2.4, and yeah β€” the footer says it's layout_type_dated_r.h(3) again, the way manpages do πŸ™ˆ mwah, go forth and log, bestie πŸ’–πŸŒ·πŸ¦‹

πŸ“¦ where this page comes from