Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
halter73 opened this issue Oct 4, 2019 · 0 comments · Fixed by #15044
Closed

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

halter73 opened this issue Oct 4, 2019 · 0 comments · Fixed by #15044
Assignees
Labels
breaking-change Indicates a .NET Core breaking change

Comments

@halter73
Copy link
Member

halter73 commented Oct 4, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates a .NET Core breaking change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants