Logging would work the same as a typical C# app, since Blazor apps are written in C#. Here are three links that may be helpful:
Logging in .Net Core and Asp.Net Core - https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0
Appending logs to a file (like a text file) - https://docs.microsoft.com/en-us/dotnet/standard/io/how-to-open-and-append-to-a-log-file
Enabling diagnostics logging in Azure - https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
Posted 3 years ago
by selliott