:orphan: # PetscEventPerfLogSetVisible This function determines whether an event is printed during `PetscLogView()` ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscEventPerfLogSetVisible(PetscEventPerfLog eventLog, PetscLogEvent event, PetscBool isVisible) ``` Not Collective ## Input Parameters - ***eventLog -*** The `PetscEventPerfLog` - ***event -*** The event to log - ***isVisible -*** The visibility flag, `PETSC_TRUE` for printing, otherwise `PETSC_FALSE` (default is `PETSC_TRUE`) ## Options Database Key - ***-log_view -*** Activates log summary ## Note This is a low level routine used by the logging functions in PETSc ## See Also `PetscEventPerfLogGetVisible()`, `PetscEventRegLogRegister()`, `PetscStageLogGetEventLog()` ## Level developer ## Location src/sys/logging/utils/eventlog.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/logging/utils/eventlog.c) [Index of all Profiling routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)