Compartilhar via


SiloHostBuilderExtensions.ConfigureLogging Método

Definição

Sobrecargas

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

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

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

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

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

Origem:
SiloHostBuilderExtensions.cs

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

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

Parâmetros

builder
ISiloHostBuilder

O ISiloHostBuilder a ser configurado.

configureLogging
Action<ILoggingBuilder>

O delegado que configura o ILoggingBuilder.

Retornos

A mesma instância do ISiloHostBuilder para encadeamento.

Aplica-se a

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Origem:
SiloHostBuilderExtensions.cs

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

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

Parâmetros

builder
ISiloHostBuilder

O ISiloHostBuilder a ser configurado.

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

O delegado que configura o ILoggingBuilder.

Retornos

A mesma instância do ISiloHostBuilder para encadeamento.

Aplica-se a