HubConnectionBuilderExtensions.ConfigureLogging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a delegate for configuring the provided ILoggingBuilder. This may be called multiple times.
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
Parameters
- hubConnectionBuilder
- IHubConnectionBuilder
The IHubConnectionBuilder to configure.
- configureLogging
- Action<ILoggingBuilder>
The delegate that configures the ILoggingBuilder.
Returns
The same instance of the IHubConnectionBuilder for chaining.