You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/03/16 12:14:02 UTC

[GitHub] [pulsar-client-node] yosiat commented on issue #9: Support Logger and Options for Custom Logger

yosiat commented 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 something for 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?

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


With regards,
Apache Git Services