Szerkesztés

Megosztás a következőn keresztül:


EventBulkingDecoratorLogger Class

Definition

OrleansLoggingDecorator class. User can plug in their own ILogger implementation into this decorator class to add event bulking feature on top of their logger. Event bulking feature will just log eventId count if the same eventId has appear more than BulkMessageLimit in a certain BulkMessageInterval.

public class EventBulkingDecoratorLogger : Microsoft.Extensions.Logging.ILogger
type EventBulkingDecoratorLogger = class
    interface ILogger
Public Class EventBulkingDecoratorLogger
Implements ILogger
Inheritance
EventBulkingDecoratorLogger
Implements

Constructors

EventBulkingDecoratorLogger(EventBulkingOptions, ILogger)

Constructor

Methods

BeginScope<TState>(TState)

Begins a logical operation scope.

IsEnabled(LogLevel)

Checks if the given logLevel is enabled.

Log<TState>(LogLevel, EventId, TState, Exception, Func<TState,Exception,String>)

Writes a log entry.

Applies to