logging_event.h(3)
π 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 namea_priorityβ the category initial prioritya_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
- epel 10: log4c-devel 1.2.4-32.el10_0 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: log4c-devel 1.2.4-34.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: log4c-devel 1.2.4-34.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: log4c-devel 1.2.4-35.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: log4c-devel 1.2.4-35.fc44 Β· LicenseRef-Callaway-LGPLv2+
- ubuntu stonking: liblog4c-doc 1.2.4-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms