Edit

Share via


SiloBuilderExtensions.ConfigureLogging Method

Definition

Overloads

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Source:
SiloBuilderExtensions.cs

Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.

public static Orleans.Hosting.ISiloBuilder ConfigureLogging (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging);
static member ConfigureLogging : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Logging.ILoggingBuilder> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureLogging (builder As ISiloBuilder, configureLogging As Action(Of HostBuilderContext, ILoggingBuilder)) As ISiloBuilder

Parameters

builder
ISiloBuilder

The ISiloBuilder to configure.

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

The delegate that configures the ILoggingBuilder.

Applies to

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

Source:
SiloBuilderExtensions.cs

Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.

public static Orleans.Hosting.ISiloBuilder ConfigureLogging (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging);
static member ConfigureLogging : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Logging.ILoggingBuilder> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureLogging (builder As ISiloBuilder, configureLogging As Action(Of ILoggingBuilder)) As ISiloBuilder

Parameters

builder
ISiloBuilder

The ISiloBuilder to configure.

configureLogging
Action<ILoggingBuilder>

The delegate that configures the ILoggingBuilder.

Returns

The same instance of the ISiloBuilder for chaining.

Applies to