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/17 18:50:28 UTC

[GitHub] [pulsar-client-node] yosiat opened a new pull request #82: Add support for passing `log` function when creating client

yosiat opened a new pull request #82: Add support for passing `log` function when creating client
URL: https://github.com/apache/pulsar-client-node/pull/82
 
 
   Issue: https://github.com/apache/pulsar-client-node/issues/9
   
   ```
   var client = new Pulsar.Client({
     log: function(level /* typescript enum */, file, line, message) {
         // log with console.log or other logging implementation
     }
   })
   ```
   
   If no log function is passed, it will use default logging.
   
   I am new to NAPI and C++, I am open for feedback and to learn!

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

[GitHub] [pulsar-client-node] hrsakai merged pull request #82: Add support for passing `log` function when creating client

Posted by GitBox <gi...@apache.org>.
hrsakai merged pull request #82: Add support for passing `log` function when creating client
URL: https://github.com/apache/pulsar-client-node/pull/82
 
 
   

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