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 fmt/std::format #417

Merged
merged 1 commit into from
Aug 18, 2023
Merged

support fmt/std::format #417

merged 1 commit into from
Aug 18, 2023

Conversation

qicosmos
Copy link
Collaborator

Why

support fmt and std::format.

What is changing

Example

#if defined(HAS_FMT_LIB) || defined(HAS_STD_FORMAT)
  ELOGFMT(INFO, "{} {}", 20, 42);
  ELOGFMT(INFO, "it is a long string test {} {}", 42, "fmt");
#endif

@qicosmos qicosmos merged commit 34906cc into alibaba:main Aug 18, 2023
28 checks passed
@qicosmos qicosmos deleted the support_fmt branch August 18, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant