14 references to LogRecord
Microsoft.Extensions.Http.Diagnostics (14)
Logging\Internal\HttpClientLogger.cs (6)
28
private readonly ObjectPool<
LogRecord
> _logRecordPool =
29
PoolFactory.CreateResettingPool<
LogRecord
>();
71
var
logRecord = _logRecordPool.Get();
138
private static LogLevel GetLogLevel(
LogRecord
logRecord)
161
if (context is not
LogRecord
logRecord)
223
LogRecord
logRecord, LoggerMessageState loggerMessageState, in TimeSpan elapsed,
Logging\Internal\HttpRequestReader.cs (3)
96
public async Task ReadRequestAsync(
LogRecord
logRecord, HttpRequestMessage request,
116
public async Task ReadResponseAsync(
LogRecord
logRecord, HttpResponseMessage response,
134
private void GetRedactedPathAndParameters(HttpRequestMessage request,
LogRecord
logRecord)
Logging\Internal\IHttpRequestReader.cs (2)
24
Task ReadResponseAsync(
LogRecord
record, HttpResponseMessage response,
36
Task ReadRequestAsync(
LogRecord
record, HttpRequestMessage request,
Logging\Internal\Log.cs (3)
38
public static void OutgoingRequest(ILogger logger, LogLevel level,
LogRecord
record)
43
public static void OutgoingRequestError(ILogger logger,
LogRecord
record, Exception exception)
83
ILogger logger, LogLevel level, int eventId, string eventName,
LogRecord
record, Exception? exception = null)