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

Use std::source_location for the LOG #109

Closed
narnaud opened this issue Jul 15, 2024 · 0 comments
Closed

Use std::source_location for the LOG #109

narnaud opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
🙋 good first issue Good for newcomers 👷 refactor Something needs to change

Comments

@narnaud
Copy link
Member

narnaud commented Jul 15, 2024

Since C++20, there's https://en.cppreference.com/w/cpp/utility/source_location

Maybe we can use that for logging instead of copying the name of the method each time.

@narnaud narnaud added 🙋 good first issue Good for newcomers 👷 refactor Something needs to change labels Jul 15, 2024
@mgiroday mgiroday self-assigned this Aug 13, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 16, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 16, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 16, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 21, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 21, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Aug 22, 2024
mgiroday added a commit to mgiroday/knut that referenced this issue Sep 11, 2024
mgiroday added a commit that referenced this issue Sep 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 good first issue Good for newcomers 👷 refactor Something needs to change
Projects
None yet
Development

No branches or pull requests

2 participants