Logrus is a structured, pluggable logger for Go (golang) that is completely API compatible with the standard library logger. It encourages careful, structured logging through much more discoverable logging fields rather than long, unparseable error messages. This produces much more useful logging messages.
Logrus is currently in maintenance mode, which means that new features will no longer be introduced. This does not mean however, that it is dead. It continues to be maintained for security, backwards compatibility and performance, so you can still rely on it for structured logging in Golang. Please take note however, that everything using Logrus will need to use lower-case so as to avoid casing issues.
Features
- Pluggable
- Completely API compatible with the standard library logger
- Built-in Hooks for logging to destinations
- Built-in JSON formatter and text formatter
- Customizable
- Level logging
- Extendable
- Contextual
License
MIT LicenseFollow Logrus
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Logrus!