AspNetCore.Docs/aspnetcore/signalr/diagnostics/logging-config-js.js

4 lines
139 B
JavaScript

let connection = new signalR.HubConnectionBuilder()
.withUrl("/my/hub/url")
.configureLogging(signalR.LogLevel.Debug)
.build();