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