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#

src/sys/logging/utils/classlog.c


Edit on GitLab

Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages