Poster of Linux kernelThe best gift for a Linux geek
logging_event.h

logging_event.h

Section: log4c (3) Updated: 10 May 2008
Local index Up
 

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_API log4c_logging_event_t * log4c_logging_event_new (const char *a_category, int a_priority, const char *a_message)

LOG4C_API void log4c_logging_event_delete (log4c_logging_event_t *a_event)
 

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

 

LOG4C_API void log4c_logging_event_delete (log4c_logging_event_t * a_event)

Destructor for a logging event.

Parameters:

a_event the logging event object

 

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

Constructor for a logging event.

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)

References log4c_logging_event_t::evt_category, log4c_logging_event_t::evt_msg, log4c_logging_event_t::evt_priority, and log4c_logging_event_t::evt_timestamp.  

Author

Generated automatically by Doxygen for log4c from the source code.


 

Index

NAME
SYNOPSIS
Data Structures
Functions
Detailed Description
Function Documentation
LOG4C_API void log4c_logging_event_delete (log4c_logging_event_t * a_event)
LOG4C_API log4c_logging_event_t* log4c_logging_event_new (const char * a_category, int a_priority, const char * a_message)
Author

This document was created by man2html, using the manual pages.
Time: 21:49:39 GMT, April 16, 2011