merlimat commented on issue #228: ClientOptions should get a Logger field to 
allow injecting of an external Logger
URL: 
https://github.com/apache/pulsar-client-go/issues/228#issuecomment-615900552
 
 
   @cornelk On the CGo library, this was done to plug into a go logger into the 
C++ library logger.
   
   In the new library, we're using Logrus for logging. You can easily configure 
Logrus (https://github.com/sirupsen/logrus)
   
   For example: 
https://github.com/apache/pulsar-client-go/blob/master/perf/pulsar-perf-go.go#L53
   
   The problem with the logger func, is that we'd be losing the structured 
logging information.
   

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


With regards,
Apache Git Services

Reply via email to