24 references to StaticOptionsMonitor
Microsoft.Extensions.Telemetry.Tests (24)
Logging\ExtendedLoggerTests.cs (24)
43var enrichmentOptions = enableEnrichment ? new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()) : null;
44var redactionOptions = enableRedaction ? new StaticOptionsMonitor<LoggerRedactionOptions>(new() { ApplyDiscriminator = false }) : null;
48filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
138filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
139enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
140redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
203filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
204enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
205redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
264filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
265enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
266redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
306filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(filterOptions),
307enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
308redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
336filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
337enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
338redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
369filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
370enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(new()),
371redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),
403filterOptions: new StaticOptionsMonitor<LoggerFilterOptions>(new()),
404enrichmentOptions: new StaticOptionsMonitor<LoggerEnrichmentOptions>(stackTraceOptions),
405redactionOptions: new StaticOptionsMonitor<LoggerRedactionOptions>(new()),