#3: Replacing old style logger with injected logger.