7 instantiations of LoggerMessageState
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
48 references to LoggerMessageState
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.Extensions.Http.Diagnostics (16)
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Microsoft.Extensions.Telemetry (9)
Logging\ExtendedLogger.cs (6)
42if (typeof(TState) == typeof(LoggerMessageState))
44var msgState = (LoggerMessageState?)(object?)state;
47ModernPath(logLevel, eventId, msgState, exception, (Func<LoggerMessageState, Exception?, string>)(object)formatter);
208private void ModernPath(LogLevel logLevel, EventId eventId, LoggerMessageState msgState, Exception? exception, Func<LoggerMessageState, Exception?, string> formatter)
Microsoft.Extensions.Telemetry.Abstractions (3)
Microsoft.Extensions.Telemetry.Abstractions.Tests (6)
Microsoft.Extensions.Telemetry.PerformanceTests (2)
Microsoft.Extensions.Telemetry.Tests (8)
Logging\ExtendedLoggerTests.cs (6)
60var lms = LoggerMessageHelper.ThreadLocalState;
150var lms = LoggerMessageHelper.ThreadLocalState;
216var lms = LoggerMessageHelper.ThreadLocalState;
217logger.Log(LogLevel.Warning, new EventId(2, "ID2"), (LoggerMessageState?)null, null, (_, _) => "MSG2");
218logger.Log(LogLevel.Warning, new EventId(2, "ID2b"), (LoggerMessageState?)null, null, (_, _) => "MSG2b");
454var lms = LoggerMessageHelper.ThreadLocalState;