rm5248 opened a new pull request, #602:
URL: https://github.com/apache/logging-log4cxx/pull/602

   First off: this does not currently compile.
   
   This PR is really for a discussion to talk more about #519.  To that end, 
this PR does a few things as a discussion point:
   
   - Making APR optional.  This makes it possible to use log4cxx using only the 
standard C++ library, at the risk of being less useful
   - Refactoring `log4cxx_time_t` to be `std::chrono::time_point` instead.  
This results in better code semantics at the risk of making the code more 
annoying to deal with(chrono is not a very fun API)
   - Removal of APR pool.  _Most_ of the time the pool argument to functions is 
not used, so this is a pretty straightforward removal.  Anything that is using 
a pool for some reason should probably use something like a smart pointer 
instead
   - Replacing the `File` implementation with classes from `std::filesystem` or 
`std::fstream` as appropriate
   - Replacing other APR calls with C++ standard calls when available
   
   If we want to do some/all of these, I would create some new PRs to do these 
in smaller batches, as this has become very time consuming to try and do since 
these are rather invasive changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to