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


   Added macros and documentation no how to utilize 
[fmt](https://fmt.dev/latest/index.html) with log4cxx.
   
   This intentionally does not utilize fmt within log4cxx, to avoid 
dependencies that are not needed if your application does not utilize fmt.  
This has the drawback of not always being available, and there are no 
checks(apart from trying to compile) that would tell you this.
   
   Utilizing fmt is also slightly faster than doing `operator<<` on all of the 
arguments to a log message.
   
   Possible concerns:
   
   1. Does the macro name (just adding _FMT) make sense?
   2. Do we also need to provide macros for localized log 
macros(LOG4CXX_L7DLOG1...)?  I have never used these macros, so I didn't 
include them.
   
   


----------------------------------------------------------------
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.

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


Reply via email to