Skip to content

Add guarded logging extensions and apply throughout codebase#388

Open
rido-min wants to merge 1 commit intonext/corefrom
next/core-rm-ca1873
Open

Add guarded logging extensions and apply throughout codebase#388
rido-min wants to merge 1 commit intonext/corefrom
next/core-rm-ca1873

Conversation

@rido-min
Copy link
Member

Introduce LoggerExtensions with LogInformationGuarded and LogTraceGuarded to prevent expensive log message construction when not enabled. Replace direct LogInformation and LogTrace calls with guarded versions in core classes. Remove CA1873 suppression and update CA2227 justification. Improves logging performance and consistency.

Introduce LoggerExtensions with LogInformationGuarded and LogTraceGuarded to prevent expensive log message construction when not enabled. Replace direct LogInformation and LogTrace calls with guarded versions in core classes. Remove CA1873 suppression and update CA2227 justification. Improves logging performance and consistency.
@rido-min rido-min requested review from MehakBindra and singhk97 and removed request for MehakBindra March 20, 2026 23:40
@rido-min rido-min added the CORE label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant