Skip to content

Look into disabling the logging IsEnabled checkΒ #27054

Open

Description

.NET 6.0 added an option to disable the internal IsEnabled check done by LoggerMessage.Define delegates (dotnet/runtime#45290).

IIRC we already check in our own logging infra code before we call the logger, since it may be possible to disable that check inside the logger.

/cc @ajcvickers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions