:orphan:
# PetscInfoProcessClass
Activates or deactivates a class based on the filtering status of `PetscInfo()` 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscInfoProcessClass(const char classname[], PetscInt numClassID, const PetscClassId classIDs[])
```
Not Collective


## Input Parameters

- ***classname -*** Name of the class to activate/deactivate `PetscInfo()` for
- ***numClassID -*** Number of entries in `classIDs`
- ***classIDs -*** Array containing all of the `PetscClassId`s associated with `classname`



## Options Database Key

- ***-info [filename][:[~]<list,of,classnames>[:[~]self]] -*** specify which informative messages are printed, see `PetscInfo()`.





## See Also
 [](sec_PetscInfo), `PetscInfo()`, `PetscInfoActivateClass()`, `PetscInfoDeactivateClass()`, `PetscInfoSetFromOptions()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/info/verboseinfo.c.html#PetscInfoProcessClass">src/sys/info/verboseinfo.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/tutorials/ex7.c.html">src/mat/tutorials/ex7.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/info/verboseinfo.c)


[Index of all Profiling routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
