PetscLogHandlerSetLogActions#

Determines whether actions are logged for a log handler.

Synopsis#

Not Collective

Input Parameters#

Notes#

The default log handler PETSCLOGHANDLERDEFAULT implements this function, but others generally do not. You can use PetscLogSetLogActions() to call this function for the default log handler that is connected to the global logging state (PetscLogGetState()).

Logging of actions continues to consume more memory as the program runs. Long running programs should consider turning this feature off.

See Also#

Profiling, PetscLogSetLogActions(), PetscLogStagePush(), PetscLogStagePop(), PetscLogGetDefaultHandler()

Level#

developer

Location#

src/sys/logging/handler/interface/loghandler.c

Implementations#

PetscLogHandlerSetLogActions_Default() in src/sys/logging/handler/impls/default/logdefault.c


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