PetscLogHandlerCreateLegacy#

Create a PetscLogHandler from callbacks matching PETSc’s legacy log handler callbacks

Synopsis#

Collective

Input Parameters#

Output Parameter#

Calling sequence of PetscLogPLB#

Calling sequence of PetscLogPLE#

Calling sequence of PetscLogPHC#

Calling sequence of PetscLogPHD#

Notes#

This is for transitioning from the deprecated function PetscLogSet() and should not be used in new code.

PetscLogLegacyCallbacksBegin(), which calls this function, creates and starts (PetscLogHandlerStart()) a log handler, should be used in almost all cases.

See Also#

Profiling

Level#

developer

Location#

src/sys/logging/handler/impls/legacy/loglegacy.c


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