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