lmittmann/tint
🌈 slog.Handler that writes tinted (colorized) logs observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 92
- Release rhythm 80
- Longevity 90
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 76.5
- age_days: 1263
- days_rel: 52
- days_push: 52
- n_releases_24m: 7
Adoption not part of the score
1343 stars · 65 forks observed · 2026-08-28
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-08-28 · 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 | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem