Partilhar via


SiloBuilderExtensions.ConfigureLogging Método

Definição

Sobrecargas

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Adiciona um delegado para configurar o ILoggingBuilder fornecido. Isso pode ser chamado várias vezes.

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

Adiciona um delegado para configurar o ILoggingBuilder fornecido. Isso pode ser chamado várias vezes.

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Origem:
SiloBuilderExtensions.cs

Adiciona um delegado para configurar o ILoggingBuilder fornecido. Isso pode ser chamado várias vezes.

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

Parâmetros

builder
ISiloBuilder

O ISiloBuilder a ser configurado.

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

O delegado que configura o ILoggingBuilder.

Aplica-se a

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

Origem:
SiloBuilderExtensions.cs

Adiciona um delegado para configurar o ILoggingBuilder fornecido. Isso pode ser chamado várias vezes.

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

Parâmetros

builder
ISiloBuilder

O ISiloBuilder a ser configurado.

configureLogging
Action<ILoggingBuilder>

O delegado que configura o ILoggingBuilder.

Retornos

A mesma instância do ISiloBuilder para encadeamento.

Aplica-se a