ClientBuilderExtensions.ConfigureLogging 方法

定义

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

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

参数

builder
IClientBuilder

要配置的 IClientBuilder

configureLogging
Action<ILoggingBuilder>

用于配置 ILoggingBuilder 的委托。

返回

用于链接的相同 IClientBuilder 实例。

适用于