GitHub user swebb2066 added a comment to the discussion: Next Log4cxx Major release thoughts
> Remove APR(or at the very minimum make it optional). I would like to see the > core library be in just standard C++ I do not believe it is yet possible to remove the APR dependency as it provides essential functionality (e.g. apr_file_write, apr_procattr_create) that is not yet in the C++ standard library. > Are there certain operations that could be better handled by newer C++ > features? For example, could we make the API more usable by removing the > LOG4CXX_DEBUG family of macros and instead use variadic templates? I suggest changing the LOG4CXX_DEBUG family of macros to require logged values be copy-constructible/move-constructible. This would allow us to implement the equivalent to "asynchronous loggers" that is already in Log4j2, and for users to see performance benefits without any code change. The LoggingEvent would need to hold a `std::vector<std::function<void(MessageBuffer&)>>` or similar. GitHub link: https://github.com/apache/logging-log4cxx/discussions/519#discussioncomment-14548272 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
