다음을 통해 공유


HubConnectionBuilderExtensions.ConfigureLogging 메서드

정의

제공된 ILoggingBuilder를 구성하는 대리자를 추가합니다. 여러 번 호출될 수 있습니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ ConfigureLogging(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Action<Microsoft::Extensions::Logging::ILoggingBuilder ^> ^ configureLogging);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder ConfigureLogging (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Action<Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging);
static member ConfigureLogging : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Action<Microsoft.Extensions.Logging.ILoggingBuilder> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function ConfigureLogging (hubConnectionBuilder As IHubConnectionBuilder, configureLogging As Action(Of ILoggingBuilder)) As IHubConnectionBuilder

매개 변수

hubConnectionBuilder
IHubConnectionBuilder

구성할 IHubConnectionBuilder입니다.

configureLogging
Action<ILoggingBuilder>

ILoggingBuilder를 구성하는 대리자입니다.

반환

연결을 위한 IHubConnectionBuilder의 동일한 인스턴스입니다.

적용 대상