Bagikan melalui


EnrichmentServiceCollectionExtensions Kelas

Definisi

Memungkinkan Anda mendaftarkan pengaya telemetri dalam kontainer injeksi dependensi.

public ref class EnrichmentServiceCollectionExtensions abstract sealed
public static class EnrichmentServiceCollectionExtensions
type EnrichmentServiceCollectionExtensions = class
Public Module EnrichmentServiceCollectionExtensions
Warisan
EnrichmentServiceCollectionExtensions

Metode

AddLogEnricher(IServiceCollection, ILogEnricher)

Mendaftarkan instans pengaya log.

AddLogEnricher<T>(IServiceCollection)

Mendaftarkan jenis pengaya log.

AddStaticLogEnricher(IServiceCollection, IStaticLogEnricher)

Mendaftarkan instans pengaya log statis.

AddStaticLogEnricher<T>(IServiceCollection)

Mendaftarkan jenis pengaya log statis.

Berlaku untuk