make LogExitFunc public