SiloBuilderExtensions.ConfigureLogging 方法

定义

重载

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

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

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

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

ConfigureLogging(ISiloBuilder, Action<HostBuilderContext,ILoggingBuilder>)

Source:
SiloBuilderExtensions.cs

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

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

参数

builder
ISiloBuilder

要配置的 ISiloBuilder

configureLogging
Action<HostBuilderContext,ILoggingBuilder>

用于配置 ILoggingBuilder 的委托。

适用于

ConfigureLogging(ISiloBuilder, Action<ILoggingBuilder>)

Source:
SiloBuilderExtensions.cs

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

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

参数

builder
ISiloBuilder

要配置的 ISiloBuilder

configureLogging
Action<ILoggingBuilder>

用于配置 ILoggingBuilder 的委托。

返回

用于链接的相同 ISiloBuilder 实例。

适用于