logging_event.h(3)

πŸ“¦
version 1.2.4 Β· 5 versions
, in epel 10, fedora 43, fedora 44, ubuntu stonking

πŸ’– logging_event.h β€” the internal representation of logging events πŸ’–

okay bestie, welcome to logging_event.h(3), a Library Functions Manual page, and honestly? it's giving backstage-pass energy. this is where log4c keeps the receipts for every single logging event. no cap.


✨ NAME ✨

logging_event.h β€” the internal representation of logging events. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <log4c/defs.h>
#include <log4c/buffer.h>
#include <log4c/location_info.h>
#include <sys/time.h>

🌸 Data Structures 🌸

  • struct log4c_logging_event_t β€” logging event object πŸ‘‘

🌈 Functions 🌈

log4c_logging_event_t * log4c_logging_event_new (const char *a_category,
    int a_priority, const char *a_message)
void log4c_logging_event_delete (log4c_logging_event_t *a_event)

πŸ’… Detailed Description πŸ’…

the internal representation of logging events. periodt.

so here's the vibe: the moment a affirmative logging decision is made, a log4c_logging_event instance gets created. and then that instance is literally passed around the different log4c components like it's the main character at a party. everybody wants a piece of it. 🫢


πŸ”₯ Function Documentation πŸ”₯

🧚 void log4c_logging_event_delete (log4c_logging_event_t * a_event)

Destructor for a logging event. it's the goodbye girl, the closing credits, the and that's on period. πŸ’€

Parameters

  • a_event β€” the logging event object

⭐ log4c_logging_event_t * log4c_logging_event_new (const char * a_category, int a_priority, const char * a_message)

Constructor for a logging event. brand new baby event, freshly born, slaying from day one. ✨

Parameters

  • a_category β€” the category name
  • a_priority β€” the category initial priority
  • a_message β€” the message of this event
Todo πŸ™ˆ β€” need to handle multi-threading (NDC). bestie it is NOT handled yet, iykyk.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4c from the source code. not a human, just a robot doing its little robot thing, and honestly? ate. πŸ’–


okay that's the whole page, hope it was useful bestie!! this was logging_event.h(3) from log4c Version 1.2.4, and yeah, that footer date slot is giving "trust the process". mwah, go log something iconic. πŸ’œπŸŒΈπŸŽ€

πŸ“¦ where this page comes from