3 instantiations of HttpLog
Microsoft.AspNetCore.HttpLogging (3)
HttpLoggingMiddleware.cs (3)
145
var httpRequestLog = new
HttpLog
(logContext.InternalParameters, "Request");
238
var log = new
HttpLog
(logContext.InternalParameters, "Request and Response");
345
var httpResponseLog = new
HttpLog
(logContext.InternalParameters, "Response");
10 references to HttpLog
Microsoft.AspNetCore.HttpLogging (10)
HttpLog.cs (1)
15
internal static readonly Func<object, Exception?, string> Callback = (state, exception) => ((
HttpLog
)state).ToString();
HttpLoggingExtensions.cs (6)
10
public static void RequestLog(this ILogger logger,
HttpLog
requestLog) => logger.Log(
15
formatter:
HttpLog
.Callback);
16
public static void ResponseLog(this ILogger logger,
HttpLog
responseLog) => logger.Log(
21
formatter:
HttpLog
.Callback);
41
public static void RequestResponseLog(this ILogger logger,
HttpLog
log) => logger.Log(
46
formatter:
HttpLog
.Callback);
HttpLoggingMiddleware.cs (3)
145
var
httpRequestLog = new HttpLog(logContext.InternalParameters, "Request");
238
var
log = new HttpLog(logContext.InternalParameters, "Request and Response");
345
var
httpResponseLog = new HttpLog(logContext.InternalParameters, "Response");