23 references to GlobalLogBufferingOptions
Microsoft.Extensions.Telemetry (23)
Buffering\GlobalBuffer.cs (3)
26private readonly IOptionsMonitor<GlobalLogBufferingOptions> _options; 46IOptionsMonitor<GlobalLogBufferingOptions> options, 162private void OnOptionsChanged(GlobalLogBufferingOptions? updatedOptions)
Buffering\GlobalBufferLoggingBuilderExtensions.cs (10)
39.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 40.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>() 41.Services.AddSingleton<IConfigureOptions<GlobalLogBufferingOptions>>( 43.AddSingleton<IOptionsChangeTokenSource<GlobalLogBufferingOptions>>( 44new ConfigurationChangeTokenSource<GlobalLogBufferingOptions>(configuration)); 59public static ILoggingBuilder AddGlobalBuffer(this ILoggingBuilder builder, Action<GlobalLogBufferingOptions> configure) 65.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 66.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>() 87.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsValidator>() 88.Services.AddOptionsWithValidateOnStart<GlobalLogBufferingOptions, GlobalLogBufferingOptionsCustomValidator>()
Buffering\GlobalLogBufferingConfigureOptions.cs (4)
10internal sealed class GlobalLogBufferingConfigureOptions : IConfigureOptions<GlobalLogBufferingOptions> 20public void Configure(GlobalLogBufferingOptions options) 33GlobalLogBufferingOptions? parsedOptions = section.Get<GlobalLogBufferingOptions>();
Buffering\GlobalLogBufferingOptionsCustomValidator.cs (2)
10internal sealed class GlobalLogBufferingOptionsCustomValidator : IValidateOptions<GlobalLogBufferingOptions> 14public ValidateOptionsResult Validate(string? name, GlobalLogBufferingOptions options)
Buffering\GlobalLogBufferingOptionsValidator.cs (1)
10internal sealed partial class GlobalLogBufferingOptionsValidator : IValidateOptions<GlobalLogBufferingOptions>
Buffering\GlobalLogBufferManager.cs (3)
15private readonly IOptionsMonitor<GlobalLogBufferingOptions> _options; 21IOptionsMonitor<GlobalLogBufferingOptions> options) 28IOptionsMonitor<GlobalLogBufferingOptions> options,