11#ifndef log4c_location_info_h
12#define log4c_location_info_h
23#include <log4c/defs.h>
43 const char* loc_function;
52# define LOG4C_LOCATION_INFO_INITIALIZER(user_data) { __FILE__, __LINE__, __FUNCTION__, user_data }
54# define LOG4C_LOCATION_INFO_INITIALIZER(user_data) { __FILE__, __LINE__, "(nil)", user_data }
57#define __log4c_str(n) #n
60# define __log4c_location(n) __FUNCTION__ "() at " __FILE__ ":" __log4c_str(n)
62# define __log4c_location(n) __FILE__ ":" __log4c_str(n)
69#define log4c_location __log4c_location(__LINE__)
logging location information
Definition location_info.h:40