Using logger.