17 references to AzureBlobLoggerOptions
Microsoft.Extensions.Logging.AzureAppServices (17)
AzureAppServicesLoggerFactoryExtensions.cs (7)
37
/// <param name="configureBlobLoggerOptions">An Action to configure the <see cref="
AzureBlobLoggerOptions
"/>.</param>
39
public static ILoggingBuilder AddAzureWebAppDiagnostics(this ILoggingBuilder builder, Action<
AzureBlobLoggerOptions
> configureBlobLoggerOptions)
47
internal static ILoggingBuilder AddAzureWebAppDiagnostics(this ILoggingBuilder builder, IWebAppContext context, Action<
AzureBlobLoggerOptions
> configureBlobLoggerOptions)
81
services.AddSingleton<IConfigureOptions<
AzureBlobLoggerOptions
>>(new BlobLoggerConfigureOptions(config, context, configureBlobLoggerOptions));
82
services.AddSingleton<IOptionsChangeTokenSource<
AzureBlobLoggerOptions
>>(
83
new ConfigurationChangeTokenSource<
AzureBlobLoggerOptions
>(config));
84
LoggerProviderOptions.RegisterProviderOptions<
AzureBlobLoggerOptions
, BlobLoggerProvider>(builder.Services);
AzureBlobLoggerContext.cs (2)
32
/// The identifier for the log. This value is set to "<see cref="
AzureBlobLoggerOptions
.ApplicationInstanceId"/>_<see cref="
AzureBlobLoggerOptions
.BlobName"/>".
BlobLoggerConfigureOptions.cs (4)
10
internal sealed class BlobLoggerConfigureOptions : BatchLoggerConfigureOptions, IConfigureOptions<
AzureBlobLoggerOptions
>
14
private readonly Action<
AzureBlobLoggerOptions
> _configureOptions;
16
public BlobLoggerConfigureOptions(IConfiguration configuration, IWebAppContext context, Action<
AzureBlobLoggerOptions
> configureOptions)
24
public void Configure(
AzureBlobLoggerOptions
options)
BlobLoggerProvider.cs (4)
22
private readonly IOptionsMonitor<
AzureBlobLoggerOptions
> _options;
31
public BlobLoggerProvider(IOptionsMonitor<
AzureBlobLoggerOptions
> options)
46
IOptionsMonitor<
AzureBlobLoggerOptions
> options,
58
var
options = _options.CurrentValue;