Skip to content

Commit 562a397

Browse files
authored
compatible (#245)
1 parent 4db2071 commit 562a397

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Common/Utilities/GeneralUtilities.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,11 @@ public static string GetLog(HttpResponseMessage response, IList<Regex> matchers
326326
matchers);
327327
}
328328

329+
public static string GetLog(HttpResponseMessage response)
330+
{
331+
return GetLog(response, null);
332+
}
333+
329334
public static string GetLog(HttpRequestMessage request, IList<Regex> matchers = null)
330335
{
331336
if (request == null)
@@ -344,6 +349,11 @@ public static string GetLog(HttpRequestMessage request, IList<Regex> matchers =
344349
matchers);
345350
}
346351

352+
public static string GetLog(HttpRequestMessage request)
353+
{
354+
return GetLog(request, null);
355+
}
356+
347357
public static string FormatString(string content)
348358
{
349359
if (CloudException.IsXml(content))

0 commit comments

Comments
 (0)