3 writes to Config
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
93
Config
= ComputeConfig(enrichmentOptions?.CurrentValue ?? new(), redactionOptions?.CurrentValue ?? new() { ApplyDiscriminator = false });
295
private void UpdateEnrichmentOptions(LoggerEnrichmentOptions enrichmentOptions) =>
Config
= ComputeConfig(enrichmentOptions, null);
296
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
;
301
var config = _factory.
Config
;
Logging\ExtendedLoggerFactory.cs (5)
270
CaptureStackTraces =
Config
.CaptureStackTraces,
271
UseFileInfoForStackTraces =
Config
.UseFileInfoForStackTraces,
272
IncludeExceptionMessage =
Config
.IncludeExceptionMessage,
273
MaxStackTraceLength =
Config
.MaxStackTraceLength,
281
ApplyDiscriminator =
Config
.AddRedactionDiscriminator,