2 writes to Formatter
Microsoft.AspNetCore.InternalTesting (1)
Logging\TestLogger.cs (1)
55Formatter = (s, e) => formatter((TState)s, e),
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\LogSinkProvider.cs (1)
43Formatter = (o, e) => formatter((TState)o, e),
8 references to Formatter
Microsoft.AspNetCore.InternalTesting (1)
Logging\WriteContext.cs (1)
28return Formatter(State, Exception);
Microsoft.AspNetCore.InternalTesting.Tests (4)
LoggedTestXunitTests.cs (4)
75Assert.Equal("Information", message.Formatter(message.State, null)); 86Assert.Equal("Debug", message.Formatter(message.State, null)); 99Assert.Equal("Information", message.Formatter(message.State, null)); 162Assert.Equal("Trace", message.Formatter(message.State, null));
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
ServerLogScope.cs (1)
60logger.Log(write.LogLevel, write.EventId, write.State, write.Exception, write.Formatter);
src\Shared\SignalR\InProcessTestServer.cs (1)
144builder.AppendLine(FormattableString.Invariant($"{log.Timestamp:O} {log.Write.LoggerName} {log.Write.LogLevel}: {log.Write.Formatter(log.Write.State, log.Write.Exception)}"));
src\Shared\SignalR\VerifyNoErrorScope.cs (1)
51string lineMessage = r.LoggerName + " - " + r.EventId.ToString() + " - " + r.Formatter(r.State, r.Exception);