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