GitHub user rm5248 added a comment to the discussion: Next Log4cxx Major release thoughts
I messed around a bit with a new possible way to log stuff tonight: https://github.com/rm5248/cxx-logger-testing/tree/main I have no idea if it is faster or not; a lot of work would have to be done in order to see what performance hit(if any) this would cause. I expect that there could still be some optimizations to do. Some parts that I consider important: - it uses no macros, instead using `std::source_location` for the source file location - Because of the above, C++20 is required - you need a modern version of GCC, since it only gained `std::format` support fairly recently - the way to log is very easy: `l.debug_fmt("hi {}", "todd")();` Feedback/thoughts would be good. GitHub link: https://github.com/apache/logging-log4cxx/discussions/519#discussioncomment-14821823 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
