Skip to content

DebugLogger class made internal in ASP.NET Core 3.0 #14941

Closed
@halter73

Description

@halter73

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

DebugLogger


Issue metadata

  • Issue type: breaking-change

Metadata

Metadata

Assignees

Labels

breaking-changeIndicates a .NET Core breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions