#include "petscsys.h" PetscErrorCode PetscLogStageGetVisible(PetscLogStage stage, PetscBool *isVisible)