#include "petscsys.h" PetscErrorCode PetscLogEventSetActiveAll(PetscLogEvent event, PetscBool isActive)