LOG4C_LAYOUT_TYPE_DATED_LOCAL_R.H(3)

πŸ’… NAME πŸ’…

layout_type_dated_local_r.h β€” bestie, this one implements a dated layout (reentrant) that runs on local time. periodt.


✨ SYNOPSIS ✨

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

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

okay so listen. This header implements a dated layout that is reentrant, and it uses local time. it's giving "timestamps, but make it thread-safe and homely." πŸ’–

In log4j.PatternLayout conventions, the dated_local_r layout has this conversion pattern, and I need you to internalize it:

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

and now the part everyone asks about, the decoder ring for each piece of that pattern:

  • "%d" β€” that's the date of the logging event πŸ“…
  • "%P" β€” that's the priority of the logging event πŸ”₯
  • "%c" β€” that's the category of the logging event πŸŽ€
  • "%m" β€” that's the application supplied message associated with the logging event πŸ’Œ

like, four little placeholders and they carry the whole vibe check. no cap.


🌸 Author 🌸

Generated automatically by Doxygen for log4c from the source code. (not me writing prose, a robot did it, and honestly? it ate. πŸ€–βœ¨)


ok bestie, that's the whole page β€” this was log4c, Version 1.2.4, and yes, the file is still layout_typ...d_local_r.h(3) in the Library Functions Manual. go forth and log responsibly πŸ«ΆπŸ’–πŸŒˆ

πŸ“¦ where this page comes from