Logo Search packages:      
Sourcecode: log4c version File versions  Download package

static LOG4C_INLINE void log4c_category_log_locinfo ( const log4c_category_t a_category,
const log4c_location_info_t a_locinfo,
int  a_priority,
const char *  a_format,
) [static]

Log a message with the specified priority and a user location info.

a_category the log4c_category_t object
a_locinfo a user location info
a_priority The priority of this log message.
a_format Format specifier for the string to write in the log file.
... The arguments for a_format

Definition at line 391 of file category.h.

References log4c_category_is_priority_enabled().

    if (log4c_category_is_priority_enabled(a_category, a_priority)) {
      va_list va;
      va_start(va, a_format);
      __log4c_category_vlog(a_category, a_locinfo, a_priority, a_format, va);

Generated by  Doxygen 1.6.0   Back to index