共用方式為


LegacyOrleansLoggingFactoryExtensions.AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> 方法

定義

將事件大量功能新增至 provider ,並將該新的記錄器提供者 EventBulkingLoggerProvider<TDecoratedLoggerProvider> 新增至 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

類型參數

TDecoratedLoggerProvider

參數

builder
ILoggingBuilder

記錄器產生器

provider
TDecoratedLoggerProvider

記錄器提供者

eventBulkingOptions
EventBulkingOptions

事件大量功能的選項

傳回

適用於