3 writes to Config
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
111
Config
= ComputeConfig(enrichmentOptions?.CurrentValue ?? new(), redactionOptions?.CurrentValue ?? new() { ApplyDiscriminator = false });
326
private void UpdateEnrichmentOptions(LoggerEnrichmentOptions enrichmentOptions) =>
Config
= ComputeConfig(enrichmentOptions, null);
327
private void UpdateRedactionOptions(LoggerRedactionOptions redactionOptions) =>
Config
= ComputeConfig(null, redactionOptions);
7 references to Config
Microsoft.Extensions.Telemetry (7)
Logging\ExtendedLogger.cs (2)
225
var config = _factory.
Config
;
371
var config = _factory.
Config
;
Logging\ExtendedLoggerFactory.cs (5)
295
CaptureStackTraces =
Config
.CaptureStackTraces,
296
UseFileInfoForStackTraces =
Config
.UseFileInfoForStackTraces,
297
IncludeExceptionMessage =
Config
.IncludeExceptionMessage,
298
MaxStackTraceLength =
Config
.MaxStackTraceLength,
306
ApplyDiscriminator =
Config
.AddRedactionDiscriminator,