3 writes to Config
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
109
Config
= ComputeConfig(enrichmentOptions?.CurrentValue ?? new(), redactionOptions?.CurrentValue ?? new() { ApplyDiscriminator = false });
322
private void UpdateEnrichmentOptions(LoggerEnrichmentOptions enrichmentOptions) =>
Config
= ComputeConfig(enrichmentOptions, null);
323
private void UpdateRedactionOptions(LoggerRedactionOptions redactionOptions) =>
Config
= ComputeConfig(null, redactionOptions);
7 references to Config
Microsoft.Extensions.Telemetry (7)
Logging\ExtendedLogger.cs (2)
219
var config = _factory.
Config
;
365
var config = _factory.
Config
;
Logging\ExtendedLoggerFactory.cs (5)
291
CaptureStackTraces =
Config
.CaptureStackTraces,
292
UseFileInfoForStackTraces =
Config
.UseFileInfoForStackTraces,
293
IncludeExceptionMessage =
Config
.IncludeExceptionMessage,
294
MaxStackTraceLength =
Config
.MaxStackTraceLength,
302
ApplyDiscriminator =
Config
.AddRedactionDiscriminator,