lmittmann/tint
🌈 slog.Handler that writes tinted (colorized) logs observed · 2026-10-21
Health v2 · maintenance only
92/100
- Activity 97
- Release rhythm 86
- Longevity 93
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 82
- age_days: 1312
- days_rel: 19
- days_push: 19
- n_releases_24m: 8
Adoption not part of the score
1364 stars · 64 forks observed · 2026-10-21
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tint is a zero-dependency Go slog.Handler that writes colorized (tinted) log output to the terminal, inspired by zerolog's ConsoleWriter and slog.TextHandler. It offers customizable formatting via Options, a drop-in replacement for slog.HandlerOptions, including attribute replacement and custom levels.
Use cases
- colorize Go slog output in the terminal
- pretty-print structured logs during local development
- drop-in replacement for slog.TextHandler with colors
- customize log levels and attribute formatting in Go
- write errors in red with slog
When to choose
- you use Go's log/slog and want readable, colorized console output
- you want a zero-dependency slog.Handler
- you need zerolog ConsoleWriter-style output with slog
When to avoid
- you need machine-readable logs like JSON for production ingestion
- you're not using Go's slog package
Facets
library · maturity stable
logging developer-tools backend go cli cross-platform slog slog-handler ansi-colors colorized-logs zero-dependency
4 sources
- readme: https://github.com/lmittmann/tint · fetched 2026-10-21 · ab219bbb9f29
- homepage: https://pkg.go.dev/github.com/lmittmann/tint · fetched 2026-08-29 · 99961cb92fb2
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lmittmann/tint | main | 92 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem