共用方式為


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 執行個體。

適用於