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

References log4c_category_is_priority_enabled().

LOG4C_API log4c_category_t* log4c_category_new (const char * a_name)

Constructor for a log4c_category_t.

Parameters:

a_name the category name

Returns:

a log4c_category object

Warning:

this method should not be called directly. You should use the log4c_category_get() method in order to preserve the categories hierarchy.