Edit

Share via


LegacyOrleansLoggingFactoryExtensions.AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> Method

Definition

Add event bulking feature onto provider, and add that new logger provider EventBulkingLoggerProvider<TDecoratedLoggerProvider> into builder.

public static Microsoft.Extensions.Logging.ILoggingBuilder AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, TDecoratedLoggerProvider provider, Orleans.Logging.Legacy.EventBulkingOptions eventBulkingOptions = default) where TDecoratedLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddMessageBulkingLoggerProvider : Microsoft.Extensions.Logging.ILoggingBuilder * 'DecoratedLoggerProvider * Orleans.Logging.Legacy.EventBulkingOptions -> Microsoft.Extensions.Logging.ILoggingBuilder (requires 'DecoratedLoggerProvider :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddMessageBulkingLoggerProvider(Of TDecoratedLoggerProvider As ILoggerProvider) (builder As ILoggingBuilder, provider As TDecoratedLoggerProvider, Optional eventBulkingOptions As EventBulkingOptions = Nothing) As ILoggingBuilder

Type Parameters

TDecoratedLoggerProvider

Parameters

builder
ILoggingBuilder

logger builder

provider
TDecoratedLoggerProvider

logger provider

eventBulkingOptions
EventBulkingOptions

options for event bulking feature

Returns

Applies to