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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Logrus

Logrus Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Logrus!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Software Development Software, Go Logging Software

Registered

2020-06-18