# Logrus

> Structured, pluggable logging for Go

Source: https://talira.ai/catalog/logrus-qb6bhbyk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [observability / logging](https://talira.ai/categories/observability/logging), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source.
- Free tier: yes[^2]
- Plugins: yes[^1]
- Backed by: [Simon Eskildsen](https://talira.ai/orgs/simon-eskildsen.md)
- Creator: Simon Eskildsen

Logrus is a structured logger for [Go](https://talira.ai/catalog/go-ed2kmsvk.md), completely API compatible with the standard library's logger. Log entries carry fields (WithFields) and levels, and are written as colour-coded text in a terminal, plain text, or JSON, with hooks that send entries to other systems. It helped make structured logging common in Go. It's in maintenance mode: security, bug fixes and performance only, plus interoperability with Go's log/slog, and its README points new projects to Zerolog, Zap and Apex.

## Links

- GitHub: https://github.com/sirupsen/logrus
- Docs: https://pkg.go.dev/github.com/sirupsen/logrus

## Problems it solves

- add structured logging with fields to a Go service
- log JSON from a Go app for my log aggregator
- replace Go's standard logger without rewriting every call
- send Go log entries to an external service with hooks

## Features

- API compatible with the standard library logger
- fields and log levels
- text, colour and JSON formatters
- hooks to send entries elsewhere

## Limitations

- In maintenance mode: security fixes, bug fixes and performance only, with no new features planned[^1]

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.40 out of 1.
Signals: backing 0.50, extensibility 0.20.

- backed by Simon Eskildsen
- created by Simon Eskildsen
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [zap](https://talira.ai/catalog/zap-yqmdrs48.md): Fast, structured, leveled logging for Go
- [ZAP](https://talira.ai/catalog/zap-a5q7de5h.md): The world's most widely used web app scanner. Free and open source.

## Sources

[^1]: https://github.com/sirupsen/logrus (checked 23 Nov 2026)
[^2]: https://github.com/sirupsen/logrus/blob/master/LICENSE (checked 23 Nov 2026)
