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.

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.