Closed
Description
DebugLogger class made internal in ASP.NET Core 3.0
DebugLogger has effectively been removed. Previously it was public, but now it is internal to match other logger implementations such as ConsoleLogger.
Version introduced
3.0
Old behavior
DebugLogger was public.
New behavior
DebugLogger is now internal.
Reason for change
Consistency and reduction of API surface.
Recommended action
Use the the AddDebug ILoggingBuilder extension method to enable debug logging. DebugLoggerProvider is also still public in the event the service needs to be registered manually.
Category
ASP.NET Core
Affected APIs
Issue metadata
- Issue type: breaking-change