Orleans.Logging.Legacy Namespace

Classes

EventBulkingDecoratorLogger

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.

EventBulkingLoggerProvider<TDecoratedLoggerProvider>

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

EventBulkingOptions

options for event bulking feature

LegacyFileLogConsumer

LegacyFileLogConsumer, which logs message into a file in orleans logging message style

LegacyOrleansLogger

LegacyOrleansLogger supports legacy Orleans logging features, including ILogConsumer, ICloseableLogConsumer, IFlushableLogConsumer, Severity.

LegacyOrleansLoggerProvider

Provides an ILoggerProvider, whose implementation try to preserve orleans legacy logging features and abstraction OrleansLoggerProvider creates one ILogger implementation, which supports orleans legacy logging features, including ILogConsumer, ICloseableLogConsumer, IFlushableLogConsumer, Severity. LegacyOrleansLoggerProvider also supports configuration on those legacy features.

LegacyOrleansLoggingFactoryExtensions
OrleansLoggerSeverityOverrides

Orleans severity overrides on a per logger base

OrleansLoggingUtils

Utility method for OrleansLogging