3 instantiations of ApplicationLogEnricher
Microsoft.Extensions.Telemetry.Tests (3)
Enrichment\ApplicationLogEnricherTests.cs (3)
46Assert.Throws<ArgumentException>(() => new ApplicationLogEnricher(optionsNull.Object, null!)); 47Assert.Throws<ArgumentException>(() => new ApplicationLogEnricher(options, applicationOptionsNull.Object)); 74var enricher = new ApplicationLogEnricher(options.ToOptions(), metadata.ToOptions());
5 references to ApplicationLogEnricher
Microsoft.Extensions.Telemetry (2)
Enrichment\ApplicationEnricherServiceCollectionExtensions.cs (2)
85.AddStaticLogEnricher<ApplicationLogEnricher>() 102.AddStaticLogEnricher<ApplicationLogEnricher>()
Microsoft.Extensions.Telemetry.Tests (3)
Enrichment\ApplicationEnricherExtensionsTests.cs (1)
87Assert.IsType<ApplicationLogEnricher>(enricher);
Enrichment\ApplicationLogEnricherTests.cs (1)
74var enricher = new ApplicationLogEnricher(options.ToOptions(), metadata.ToOptions());
Enrichment\ServiceEnricherExtensionsTests.cs (1)
88Assert.IsType<ApplicationLogEnricher>(enricher);