Logs

When it comes to logs, they are virtually unanimous. You may refer to the logrus document  (https://github.com/Sirupsen/logrus). It is a very mature and flexible logging library for Go, having hooks for different tools, ranging from the syslog to the InfluxDB for example.

The logrus has main features, that is, speed up on record logs and practicality of implementation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.163.207