Modifier

Partager via


LegacyOrleansLogger Class

Definition

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

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

Constructors

LegacyOrleansLogger(String, IList<ILogConsumer>, IPEndPoint)

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>)

Log a message. Current logger supports legacy event bulking feature. Message bulking feature will only log eventId code appearance count if certain event appear more than BulkEventLimit in BulkEventInterval

LogLevelToSeverity(LogLevel)

Map LogLevel to Severity

Applies to