wolfstudy opened a new pull request #12: package logrus for project
URL: https://github.com/apache/pulsar-client-go/pull/12
 
 
   Signed-off-by: xiaolong.ran <[email protected]>
   
   package `logrus` for project.
   
   When we output log information, it is not recommended to capitalize the 
first letter. It is not recommended to add any punctuation at the end.
   
   If we can clearly know the type that needs to be printed, it is recommended 
to use the format of the specified type. If there is no way to know, you can 
use `%v`, `%#v` or `%+v`.
   
   ```
   Printf("%v", people)   {zhangsan},
   Printf("%+v", people)  {Name:zhangsan}
   Printf("%#v", people)   main.Human{Name:"zhangsan"}
   ```

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