yuanweikang2020 commented on issue #430:
URL: 
https://github.com/apache/pulsar-client-go/issues/430#issuecomment-755245818


   like this.
   `func init() {
     // Log as JSON instead of the default ASCII formatter.
     logrus.SetFormatter(&logrus.JSONFormatter{})
   
     // Output to stdout instead of the default stderr
     // Can be any io.Writer, see below for File example
     logrus.SetOutput(os.Stdout)
   
     // Only log the warning severity or above.
     logrus.SetLevel(logrus.WarnLevel)
   }`


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


Reply via email to