Wednesday, February 28, 2018

ASP.NET Core SignalR– Configure logging

As we don’t have an official release yet of the ASP.NET Core SignalR package, it’s a quest to find the right information in the Github repo. Yesterday I lost some time searching on how to configure logging in SignalR.

To enable logging you have to pass an extra parameter to your HubConnection specifying a loglevel:

Supported log levels are:

No comments: