BewareMyPower commented on issue #11845:
URL: https://github.com/apache/pulsar/issues/11845#issuecomment-1182898251

   IMO, the library-global logger is more for safety. Currently C++ client uses 
a thread local logger for all source files of the library so that the 
user-provided Logger implementation doesn't need to be thread-safe. If a logger 
binds to a specific class instance like `Client`, the logger could be used by 
multiple threads, so it has to be thread-safe.
   
   Do you have any better idea? @merlimat 


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