LegacyOrleansLoggingFactoryExtensions.AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將事件大量功能新增至 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
事件大量功能的選項