PetscLogHandlerType — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# PetscLogHandlerType

String with the name of a `PetscLogHandler` type

## Synopsis

    typedef const char *PetscLogHandlerType;

## Note

Implementations included with PETSc include:

- `PETSCLOGHANDLERDEFAULT` (`PetscLogDefaultBegin()`) - formats data for PETSc’s default summary (`PetscLogView()`) and data-dump (`PetscLogDump()`) formats.

- `PETSCLOGHANDLERNESTED` (`PetscLogNestedBegin()`) - formats data for XML or flamegraph output

- `PETSCLOGHANDLERTRACE` (`PetscLogTraceBegin()`) - traces profiling events in an output stream

- `PETSCLOGHANDLERMPE` (`PetscLogMPEBegin()`) - outputs parallel performance visualization using MPE

- `PETSCLOGHANDLERPERFSTUBS` (`PetscLogPerfstubsBegin()`) - outputs instrumentation data for PerfStubs/TAU

- `PETSCLOGHANDLERLEGACY` (`PetscLogLegacyCallbacksBegin()`) - adapts legacy callbacks to the `PetscLogHandler` interface

- `PETSCLOGHANDLERNVTX` - creates NVTX ranges for events that are visible in Nsight

## See Also

Profiling, `PetscLogHandler`, `PetscLogHandlerSetType()`, `PetscLogHandlerGetType()`

## Level

Developer

## Location

include/petsclogtypes.h

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