1 instantiation of LogRecord
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\LogSinkProvider.cs (1)
34var record = new LogRecord(
16 references to LogRecord
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (2)
1389var errorLog = server.GetLogs().SingleOrDefault(r => r.Write.EventId.Name == "FailedWritingMessage"); 1443var errorLog = server.GetLogs().SingleOrDefault(r => r.Write.EventId.Name == "FailedWritingMessage");
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubConnectionTests.Reconnect.cs (2)
361var attemptsLog = logs.SingleOrDefault(r => r.Write.EventId.Name == "ReconnectAttemptsExhausted"); 366var waitingLog = logs.SingleOrDefault(r => r.Write.EventId.Name == "AwaitingReconnectRetryDelay");
Microsoft.AspNetCore.SignalR.Tests.Utils (12)
ServerLogScope.cs (1)
36private void ServerFixtureOnServerLogged(LogRecord logRecord)
src\Shared\SignalR\InProcessTestServer.cs (5)
24internal abstract event Action<LogRecord> ServerLogged; 49internal override event Action<LogRecord> ServerLogged 94public IList<LogRecord> GetLogs() => _logSinkProvider.GetLogs(); 139private static string RenderLogs(IList<LogRecord> logs) 142foreach (var log in logs)
src\Shared\SignalR\LogSinkProvider.cs (5)
17private readonly ConcurrentQueue<LogRecord> _logs = new ConcurrentQueue<LogRecord>(); 19public event Action<LogRecord> RecordLogged; 30public IList<LogRecord> GetLogs() => _logs.ToList(); 34var record = new LogRecord(
src\Shared\SignalR\VerifyNoErrorScope.cs (1)
20public IList<LogRecord> GetLogs() => _sink.GetLogs();