logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

logging_event.h - the internal representation of logging events.

Author

       Generated automatically by Doxygen for log4c from the source code.

log4c                                             Version 1.2.4                               logging_event.h(3)

Detailed Description

       the internal representation of logging events.

       When a affirmative logging decision is made a log4c_logging_event instance is created. This instance is
       passed around the different log4c components.

Function Documentation

voidlog4c_logging_event_delete(log4c_logging_event_t*a_event)
       Destructor for a logging event.

       Parametersa_event the logging event object

   log4c_logging_event_t*log4c_logging_event_new(constchar*a_category,inta_priority,constchar*a_message)
       Constructor for a logging event.

       Parametersa_category the category name
           a_priority the category initial priority
           a_message the message of this event

       Todo
           need to handle multi-threading (NDC)

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>

   DataStructures
       struct log4c_logging_event_t
           logging event object

   Functionslog4c_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)

See Also