How to use the @microsoft/signalr.LogLevel.Information function in @microsoft/signalr

To help you get started, we’ve selected a few @microsoft/signalr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dotnet-architecture / eShopOnContainers / src / Web / WebSPA / Client / modules / shared / services / signalr.service.ts View on Github external
private register() {
        this._hubConnection = new HubConnectionBuilder()
            .withUrl(this.SignalrHubUrl + '/hub/notificationhub', {
                accessTokenFactory: () => this.securityService.GetToken()
            })
            .configureLogging(LogLevel.Information)
            .withAutomaticReconnect()
            .build();
    }
github FabianGosebrink / ASPNETCore-Angular-SignalR-Typescript / frontend / angularsignalrclient / src / app / core / services / signalR.service.ts View on Github external
private createConnection() {
    this.hubConnection = new HubConnectionBuilder()
      .withUrl(environment.baseUrls.server + 'coolmessages')
      .withAutomaticReconnect()
      .configureLogging(LogLevel.Information)
      .build();
  }