Edit

Share via


LegacyOrleansLoggingFactoryExtensions.AddLegacyOrleansLogging Method

Definition

Overloads

AddLegacyOrleansLogging(ILoggingBuilder, IEnumerable<ILogConsumer>, IPEndPoint, EventBulkingOptions)

Add LegacyOrleansLoggerProvider with event bulking feature to LoggerFactory

AddLegacyOrleansLogging(ILoggingBuilder, IEnumerable<ILogConsumer>, OrleansLoggerSeverityOverrides, IPEndPoint, EventBulkingOptions)

Add LegacyOrleansLoggerProvider with event bulking feature to LoggerFactory

AddLegacyOrleansLogging(ILoggingBuilder, IEnumerable<ILogConsumer>, IPEndPoint, EventBulkingOptions)

Add LegacyOrleansLoggerProvider with event bulking feature to LoggerFactory

public static Microsoft.Extensions.Logging.ILoggingBuilder AddLegacyOrleansLogging (this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Collections.Generic.IEnumerable<Orleans.Runtime.ILogConsumer> logConsumers, System.Net.IPEndPoint ipEndPoint = default, Orleans.Logging.Legacy.EventBulkingOptions eventBulkingOptions = default);
static member AddLegacyOrleansLogging : Microsoft.Extensions.Logging.ILoggingBuilder * seq<Orleans.Runtime.ILogConsumer> * System.Net.IPEndPoint * Orleans.Logging.Legacy.EventBulkingOptions -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddLegacyOrleansLogging (builder As ILoggingBuilder, logConsumers As IEnumerable(Of ILogConsumer), Optional ipEndPoint As IPEndPoint = Nothing, Optional eventBulkingOptions As EventBulkingOptions = Nothing) As ILoggingBuilder

Parameters

builder
ILoggingBuilder

logger builder

logConsumers
IEnumerable<ILogConsumer>

log consumers which user want to write log events to

ipEndPoint
IPEndPoint

IP endpoint this logger is associated with

eventBulkingOptions
EventBulkingOptions

config for event bulking feature

Returns

Applies to

AddLegacyOrleansLogging(ILoggingBuilder, IEnumerable<ILogConsumer>, OrleansLoggerSeverityOverrides, IPEndPoint, EventBulkingOptions)

Add LegacyOrleansLoggerProvider with event bulking feature to LoggerFactory

public static Microsoft.Extensions.Logging.ILoggingBuilder AddLegacyOrleansLogging (this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Collections.Generic.IEnumerable<Orleans.Runtime.ILogConsumer> logConsumers, Orleans.Logging.Legacy.OrleansLoggerSeverityOverrides severityOverrides, System.Net.IPEndPoint ipEndPoint = default, Orleans.Logging.Legacy.EventBulkingOptions eventBulkingOptions = default);
static member AddLegacyOrleansLogging : Microsoft.Extensions.Logging.ILoggingBuilder * seq<Orleans.Runtime.ILogConsumer> * Orleans.Logging.Legacy.OrleansLoggerSeverityOverrides * System.Net.IPEndPoint * Orleans.Logging.Legacy.EventBulkingOptions -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddLegacyOrleansLogging (builder As ILoggingBuilder, logConsumers As IEnumerable(Of ILogConsumer), severityOverrides As OrleansLoggerSeverityOverrides, Optional ipEndPoint As IPEndPoint = Nothing, Optional eventBulkingOptions As EventBulkingOptions = Nothing) As ILoggingBuilder

Parameters

builder
ILoggingBuilder

logger builder

logConsumers
IEnumerable<ILogConsumer>

log consumers which configured to consume the logs

severityOverrides
OrleansLoggerSeverityOverrides

per category severity overrides

ipEndPoint
IPEndPoint

IP endpoint this logger is associated with

eventBulkingOptions
EventBulkingOptions

config for event bulking feature

Returns

Applies to