PetscLogStateClassRegister#

Register a class to with a PetscLogState used by PetscLogHandlers.

Synopsis#

#include "petsclog.h" 
PetscErrorCode PetscLogStateClassRegister(PetscLogState state, const char name[], PetscClassId id, PetscLogClass *logclass)

Logically collective on PETSC_COMM_WORLD

Input Parameters#

Output Parameter#

Note#

Classes are automatically registered with PETSc’s global logging state (PetscLogGetState()), so this is only needed for non-global states.

See Also#

Profiling, PetscLogStateClassGetInfo() PetscLogStateGetClassFromName(), PetscLogStateGetClassFromClassId()

Level#

developer

Location#

src/sys/logging/state/logstate.c


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