Microsoft.AspNetCore.SpaServices and NodeServices no longer fallback to console logger by default #328
Labels
3.0.0
Announcements related to ASP.NET Core 3.0
Announcement
Breaking change
Documented
The breaking change has been published to the .NET Core docs
Migrated
Uh oh!
There was an error while loading. Please reload this page.
Microsoft.AspNetCore.SpaServices
andMicrosoft.AspNetCore.NodeServices
used to automatically create a console logger when logging is not configured. To align them with how other AspNetCore packages implement logging we are removing this automatic fallback.From now on
Microsoft.AspNetCore.SpaServices
andMicrosoft.AspNetCore.NodeServices
would not display any console log when logging is not configured.To configure console logging please add
services.AddLogging(builder => builder.AddConsole())
to yourSetup.ConfigureServices
method.[This announcement has been migrated to: dotnet/docs#14902]
The text was updated successfully, but these errors were encountered: