4 references to AddLogEnricher
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
Enrichment\EnricherExtensionsTests.cs (4)
16
Assert.Throws<ArgumentNullException>(() => new ServiceCollection().
AddLogEnricher
(null!));
27
((IServiceCollection)null!).
AddLogEnricher
(enricher));
30
new ServiceCollection().
AddLogEnricher
(null!));
38
services.
AddLogEnricher
(new TestEnricher());