1 write to _sink
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\VerifyNoErrorScope.cs (1)
26
_sink
= new LogSinkProvider();
3 references to _sink
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
src\Shared\SignalR\VerifyNoErrorScope.cs (3)
20
public IList<LogRecord> GetLogs() =>
_sink
.GetLogs();
29
LoggerFactory.AddProvider(
_sink
);
36
var results =
_sink
.GetLogs().Where(w => w.Write.LogLevel >= LogLevel.Error).ToList();