LegacyOrleansLoggingFactoryExtensions.AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将事件大容量功能添加到provider
该事件,并将新的记录器提供程序添加到builder
该提供程序EventBulkingLoggerProvider<TDecoratedLoggerProvider>中。
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
类型参数
- TDecoratedLoggerProvider
参数
- builder
- ILoggingBuilder
记录器生成器
- provider
- TDecoratedLoggerProvider
记录器提供程序
- eventBulkingOptions
- EventBulkingOptions
事件大容量功能的选项