Edit

Share via


EventBulkingLoggerProvider<TDecoratedLoggerProvider> Class

Definition

EventBulkingLoggerProvider, which has event bulking feature in. If you want to add event bulking feature on top of your logger provider, you just need to use AddMessageBulkingLoggerProvider<TDecoratedLoggerProvider>(ILoggingBuilder, TDecoratedLoggerProvider, EventBulkingOptions). Note: It need to be a typed class for LoggerFilterRule to work, such as per provider type filter

public class EventBulkingLoggerProvider<TDecoratedLoggerProvider> : IDisposable, Microsoft.Extensions.Logging.ILoggerProvider where TDecoratedLoggerProvider : ILoggerProvider
type EventBulkingLoggerProvider<'DecoratedLoggerProvider (requires 'DecoratedLoggerProvider :> ILoggerProvider)> = class
    interface ILoggerProvider
    interface IDisposable
Public Class EventBulkingLoggerProvider(Of TDecoratedLoggerProvider)
Implements IDisposable, ILoggerProvider

Type Parameters

TDecoratedLoggerProvider
Inheritance
EventBulkingLoggerProvider<TDecoratedLoggerProvider>
Implements

Constructors

EventBulkingLoggerProvider<TDecoratedLoggerProvider>(TDecoratedLoggerProvider, EventBulkingOptions)

Constructor

Methods

CreateLogger(String)

Creates a new ILogger instance.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to