3 writes to Config
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
110Config = ComputeConfig(enrichmentOptions?.CurrentValue ?? new(), redactionOptions?.CurrentValue ?? new() { ApplyDiscriminator = false }); 318private void UpdateEnrichmentOptions(LoggerEnrichmentOptions enrichmentOptions) => Config = ComputeConfig(enrichmentOptions, null); 319private void UpdateRedactionOptions(LoggerRedactionOptions redactionOptions) => Config = ComputeConfig(null, redactionOptions);
7 references to Config
Microsoft.Extensions.Telemetry (7)
Logging\ExtendedLogger.cs (2)
225var config = _factory.Config; 371var config = _factory.Config;
Logging\ExtendedLoggerFactory.cs (5)
287CaptureStackTraces = Config.CaptureStackTraces, 288UseFileInfoForStackTraces = Config.UseFileInfoForStackTraces, 289IncludeExceptionMessage = Config.IncludeExceptionMessage, 290MaxStackTraceLength = Config.MaxStackTraceLength, 298ApplyDiscriminator = Config.AddRedactionDiscriminator,