Skip to content
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

Support message supplier in WarnThenDebugLogger #3424

Merged
merged 1 commit into from Sep 22, 2022

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Sep 20, 2022

This PR updates WarnThenDebugLogger to support message supplier to reduce String instance creation when debug level is not enabled.

This PR also updates to use its supplier variants where beneficial.

This commit also updates to use its supplier variants where beneficial.
@shakuzen shakuzen added the type: task A general task label Sep 22, 2022
@shakuzen shakuzen added this to the 1.8.11 milestone Sep 22, 2022
@shakuzen shakuzen merged commit 9425188 into micrometer-metrics:1.8.x Sep 22, 2022
@izeye izeye deleted the message-supplier branch September 22, 2022 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants