SamplingLoggerBuilderExtensions Klasse

Definition

Erweiterungen zum Konfigurieren des Protokollierungssamplings.

public ref class SamplingLoggerBuilderExtensions abstract sealed
public static class SamplingLoggerBuilderExtensions
type SamplingLoggerBuilderExtensions = class
Public Module SamplingLoggerBuilderExtensions
Vererbung
SamplingLoggerBuilderExtensions

Methoden

Name Beschreibung
AddRandomProbabilisticSampler(ILoggingBuilder, Action<RandomProbabilisticSamplerOptions>)

Fügt der Protokollierungsinfrastruktur random Probabilistic Logging Sampler hinzu.

AddRandomProbabilisticSampler(ILoggingBuilder, Double, Nullable<LogLevel>)

Fügt der Protokollierungsinfrastruktur random Probabilistic Logging Sampler hinzu.

AddRandomProbabilisticSampler(ILoggingBuilder, IConfiguration)

Fügt der Protokollierungsinfrastruktur random Probabilistic Logging Sampler hinzu.

AddSampler(ILoggingBuilder, LoggingSampler)

Fügt der Protokollierungsinfrastruktur eine Protokollierungs-Samplerinstanz hinzu.

AddSampler<T>(ILoggingBuilder)

Fügt der Protokollierungsinfrastruktur einen Protokollierungs-Samplertyp hinzu.

AddTraceBasedSampler(ILoggingBuilder)

Fügt der Protokollierungsinfrastruktur ablaufbasierten Protokollierungssampler hinzu.

Gilt für: