3 writes to Config
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
96Config = ComputeConfig(enrichmentOptions?.CurrentValue ?? new(), redactionOptions?.CurrentValue ?? new() { ApplyDiscriminator = false }); 299private void UpdateEnrichmentOptions(LoggerEnrichmentOptions enrichmentOptions) => Config = ComputeConfig(enrichmentOptions, null); 300private void UpdateRedactionOptions(LoggerRedactionOptions redactionOptions) => Config = ComputeConfig(null, redactionOptions);
7 references to Config
Microsoft.Extensions.Telemetry (7)
Logging\ExtendedLogger.cs (2)
211var config = _factory.Config; 318var config = _factory.Config;
Logging\ExtendedLoggerFactory.cs (5)
273CaptureStackTraces = Config.CaptureStackTraces, 274UseFileInfoForStackTraces = Config.UseFileInfoForStackTraces, 275IncludeExceptionMessage = Config.IncludeExceptionMessage, 276MaxStackTraceLength = Config.MaxStackTraceLength, 284ApplyDiscriminator = Config.AddRedactionDiscriminator,