yosiat edited a comment on issue #9: Support Logger and Options for Custom 
Logger
URL: 
https://github.com/apache/pulsar-client-node/issues/9#issuecomment-599503036
 
 
   hi!
   
   I played out with the code to see if I can implement it, and I am ready for 
making a PR.
   
   I was thinking about something like the go client -
   
   ```javascript
   var client = new Pulsar.Client({
     log: function(level /* typescript enum */, file, line, message) {
       // do what you think 
     }
   })
   ```
   
   What do you think?
   
   Got stuck on C++ side: managed to create Persistent function to call the log 
method but then I get an error, which can be solved with thread-safe function, 
which I don't have access for some reason.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to