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

static LOG4C_INLINE void log4c_category_fatal ( const log4c_category_t a_category,
const char *  a_format,
  ... 
) [static]

Log a message with fatal priority.

Parameters:
a_category the log4c_category_t object
a_format Format specifier for the string to write in the log file.
... The arguments for a_format

Definition at line 413 of file category.h.

References log4c_category_is_priority_enabled(), log4c_category_vlog(), and LOG4C_PRIORITY_FATAL.

{
    if (log4c_category_is_priority_enabled(a_category, LOG4C_PRIORITY_FATAL)) {
      va_list va;
      va_start(va, a_format);
      log4c_category_vlog(a_category, LOG4C_PRIORITY_FATAL, a_format, va);
      va_end(va);
    }
}


Generated by  Doxygen 1.6.0   Back to index