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

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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