ApplicationEnricherServiceCollectionExtensions 类

定义

提供用于在 中 IServiceCollection设置服务扩充器的扩展方法。

public ref class ApplicationEnricherServiceCollectionExtensions abstract sealed
public static class ApplicationEnricherServiceCollectionExtensions
type ApplicationEnricherServiceCollectionExtensions = class
Public Module ApplicationEnricherServiceCollectionExtensions
继承
ApplicationEnricherServiceCollectionExtensions

方法

AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)

将服务扩充器实例添加到 。IServiceCollection

AddServiceLogEnricher(IServiceCollection, IConfigurationSection)

将服务扩充器实例添加到 。IServiceCollection

AddServiceLogEnricher(IServiceCollection)

将服务扩充器实例添加到 。IServiceCollection

适用于