log4c  1.2.4
Data Structures | Macros
location_info.h File Reference

The internal representation of caller location information. More...

#include <log4c/defs.h>
Include dependency graph for location_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  log4c_location_info_t
 logging location information More...
 

Macros

#define LOG4C_LOCATION_INFO_INITIALIZER(user_data)   { __FILE__, __LINE__, "(nil)", user_data }
 
#define log4c_location   __log4c_location(__LINE__)
 

Detailed Description

The internal representation of caller location information.

When a affirmative logging decision is made a log4c_location_info_t is created and is passed around the different log4c components.

Macro Definition Documentation

#define log4c_location   __log4c_location(__LINE__)

This macro returns the literal representation of a logging event location

#define LOG4C_LOCATION_INFO_INITIALIZER (   user_data)    { __FILE__, __LINE__, "(nil)", user_data }

log4c_location_info_t initializer