logger and stopOnSurprise options