EnrichmentServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lets you register telemetry enrichers in a dependency injection container.
public ref class EnrichmentServiceCollectionExtensions abstract sealed
public static class EnrichmentServiceCollectionExtensions
type EnrichmentServiceCollectionExtensions = class
Public Module EnrichmentServiceCollectionExtensions
- Inheritance
-
EnrichmentServiceCollectionExtensions
Methods
AddLogEnricher(IServiceCollection, ILogEnricher) |
Registers a log enricher instance. |
AddLogEnricher<T>(IServiceCollection) |
Registers a log enricher type. |
AddStaticLogEnricher(IServiceCollection, IStaticLogEnricher) |
Registers a static log enricher instance. |
AddStaticLogEnricher<T>(IServiceCollection) |
Registers a static log enricher type. |
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.