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

LOG4C_API int log4c_category_set_additivity ( log4c_category_t a_category,
int  a_additivity 
)

Sets a new additivity flag for this category.

Parameters:
a_category the log4c_category_t object
a_additivity the new category additivity
Returns:
the previous category additivity

Definition at line 178 of file category.c.

{
  int previous;
  
  if (!this) 
    return -1;
  
  previous = this->cat_additive;
  this->cat_additive = a_additivity;
  return previous;
}


Generated by  Doxygen 1.6.0   Back to index