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