martasp / BlazorLiveReload

BlazorLiveReload
143 stars 14 forks source link

How to prevent the console from being filled up with `INFO` level messages #3

Closed dharmaturtle closed 4 years ago

dharmaturtle commented 4 years ago

Add

using Microsoft.Extensions.Logging;
// filler
public void ConfigureServices(IServiceCollection services) {
// filler
    services.AddLogging(x => x
        .AddFilter("Microsoft.AspNetCore", LogLevel.Warning)
      );

to Startup.cs