public override string GetResponseContentForLogging(string rawContent, string contentType)
        {
            if (!IsJsonResponse(contentType))
            {
                return("Response not in json format");
            }

            var sensitiveProperties = SensitiveAttribute.GetSensitiveProperties(typeof(TResponse));

            return(FormatContent(rawContent, ResponseDataRootSelector, sensitiveProperties));
        }
        public override string GetRawResponseContentForLogging(string rawContent, string contentType)
        {
            if (!IsJsonResponse(contentType))
            {
                return("Response not in json format");
            }

            var sensitiveProperties = SensitiveAttribute.GetSensitiveProperties(typeof(TResponse));

            return(sensitiveProperties.Any()
                ? "Response contains sensitive information"
                : rawContent);
        }