Edit

Share via


SiloHostBuilderExtensions.ConfigureLogging Method

Definition

Overloads

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

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

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

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

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

Source:
SiloHostBuilderExtensions.cs

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

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

Parameters

builder
ISiloHostBuilder

The ISiloHostBuilder to configure.

configureLogging
Action<ILoggingBuilder>

The delegate that configures the ILoggingBuilder.

Returns

The same instance of the ISiloHostBuilder for chaining.

Applies to

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Source:
SiloHostBuilderExtensions.cs

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

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

Parameters

builder
ISiloHostBuilder

The ISiloHostBuilder to configure.

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

The delegate that configures the ILoggingBuilder.

Returns

The same instance of the ISiloHostBuilder for chaining.

Applies to