SiloHostBuilderExtensions.ConfigureLogging 方法

定义

重载

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

添加一个委托来配置提供的 ILoggingBuilder。 这可多次进行调用。

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

添加一个委托来配置提供的 ILoggingBuilder。 这可多次进行调用。

ConfigureLogging(ISiloHostBuilder, Action<ILoggingBuilder>)

Source:
SiloHostBuilderExtensions.cs

添加一个委托来配置提供的 ILoggingBuilder。 这可多次进行调用。

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

参数

builder
ISiloHostBuilder

要配置的 ISiloHostBuilder

configureLogging
Action<ILoggingBuilder>

用于配置 ILoggingBuilder 的委托。

返回

用于链接的相同 ISiloHostBuilder 实例。

适用于

ConfigureLogging(ISiloHostBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Source:
SiloHostBuilderExtensions.cs

添加一个委托来配置提供的 ILoggingBuilder。 这可多次进行调用。

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

参数

builder
ISiloHostBuilder

要配置的 ISiloHostBuilder

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

用于配置 ILoggingBuilder 的委托。

返回

用于链接的相同 ISiloHostBuilder 实例。

适用于