merlimat opened a new pull request #1827: Added option for custom loggers in 
C++ and C APIs
URL: https://github.com/apache/incubator-pulsar/pull/1827
 
 
   ### Motivation
   
   In many cases, the supplied Log4CXX logger for C++ is not practical or 
convenient for users. 
   
   For examples, when using C++ client library wrapped in Python / Go the log 
messages from pulsar client library do not interact well with the the logs of 
the rest of the application.
   
   The same happens when a C++ application is already using a different logging 
framework than Log4cxx.
   
   ### Modifications
   
    * Added option to pass a custom `LoggerFactory` and `Logger` implementation
    * By default, a simple logger that prints on console is provided
    * Removed hard dependency on Log4Cxx. By default it's disabled at compile 
time. Can be enabled with `cmake -DUSE_LOG4CXX`
    * Provide Log4cxx based implementation for Pulsar logger.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to