1 write to Category
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogger.cs (1)
43
Category
= string.IsNullOrEmpty(category) ? null : category;
9 references to Category
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLogger.cs (2)
82
l.ToArray(),
Category
, !_disabledLevels.ContainsKey(logLevel), Collector.TimeProvider.GetUtcNow());
134
l.ToArray(),
Category
, !_disabledLevels.ContainsKey(rec.LogLevel), rec.Timestamp);
Microsoft.Extensions.Telemetry.Tests (7)
Logging\ExtendedLoggerTests.cs (6)
77
Assert.Equal(Category, sink.
Category
);
194
Assert.Equal(Category, sink.
Category
);
259
Assert.Equal(Category, sink.
Category
);
319
Assert.Equal(Category, sink.
Category
);
388
Assert.Equal(Category, sink.
Category
);
497
Assert.Equal(Category, sink.
Category
);
Logging\SerialExtendedLoggerTests.cs (1)
59
Assert.Equal(Category, sink.
Category
);