:orphan:
# PetscClassRegLogRegister
Registers a class for logging operations in an application code. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscClassRegLogRegister(PetscClassRegLog classLog, const char cname[], PetscClassId classid)
```
Not Collective


## Input Parameters

- ***classLog -*** The `PetscClassRegLog`
- ***cname    -*** The name associated with the class



## Output Parameter

- ***classid   -*** The classid





## Note
This is a low level routine used by the logging functions in PETSc


## See Also
 `PetscClassIdRegister()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/logging/utils/classlog.c.html#PetscClassRegLogRegister">src/sys/logging/utils/classlog.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/logging/utils/classlog.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)  
