Package Usage: go: github.com/sirupsen/logrus
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
The simplest way to use Logrus is simply the package-level exported logger:
Output:
For a full guide visit https://github.com/sirupsen/logrus
An example on how to use a hook
60 versions
Latest release: almost 2 years ago
62,999 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/sirupsen/logrus