LegacyOrleansLoggingFactoryExtensions.AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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