Poco Logger Support for C++20's std::source_location #3597
andrewauclair
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any ideas/plans to do this? Going to be a while before we can use C++20 with Poco at work. But it would be nice to use std::source_location instead of rewriting all our logger calls to use __FILE__, __FUNCTION__ (__func__) and __LINE__.
I know Poco supports C++14 and obviously won't be upgrading to C++20 for a very long time. There are several feature test macros for checking the includes and for checking the actual feature. I'll paste them below.
Beta Was this translation helpful? Give feedback.
All reactions