perhaps could move the first condition also to the _skipLogging() method?