SamplingLoggerBuilderExtensions Klass

Definition

Tillägg för att konfigurera loggningssampling.

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

Metoder

Name Description
AddRandomProbabilisticSampler(ILoggingBuilder, Action<RandomProbabilisticSamplerOptions>)

Lägger till slumpmässig probabilistisk loggningsexempel i loggningsinfrastrukturen.

AddRandomProbabilisticSampler(ILoggingBuilder, Double, Nullable<LogLevel>)

Lägger till slumpmässig probabilistisk loggningsexempel i loggningsinfrastrukturen.

AddRandomProbabilisticSampler(ILoggingBuilder, IConfiguration)

Lägger till slumpmässig probabilistisk loggningsexempel i loggningsinfrastrukturen.

AddSampler(ILoggingBuilder, LoggingSampler)

Lägger till en loggningsexempelinstans i loggningsinfrastrukturen.

AddSampler<T>(ILoggingBuilder)

Lägger till en exempeltyp för loggning i loggningsinfrastrukturen.

AddTraceBasedSampler(ILoggingBuilder)

Lägger till spårningsbaserad loggningsexempel i loggningsinfrastrukturen.

Gäller för