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

[easylog][feat]support more types #410

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Conversation

qicosmos
Copy link
Collaborator

Why

support more types: bool, std::array<char, N>, object has data() or str(), tid etc.

What is changing

Example

  char buf[5] = {"test"};
  std::string_view sv = "test";
  std::string str = "test";
  std::array<char, 5> arr{"test"};
  std::stringstream ss;
  ss << "test";
  ELOG_INFO << arr << ", " << ss;

  auto id = std::this_thread::get_id();
  ELOG_INFO << buf << ", " << str << ", " << sv << ", " << id;

@qicosmos qicosmos merged commit ae4ac4b into alibaba:main Aug 16, 2023
28 checks passed
@qicosmos qicosmos deleted the support_more_types branch August 16, 2023 02:27
@qicosmos qicosmos changed the title support more types [easylog][feat]support more types Aug 16, 2023
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