github lmittmann/tint v1.1.0

latest releases: v1.1.2, v1.1.1
3 months ago

This release adds a much-requested feature: function tint.Attr(color uint8, attr slog.Attr) writes colored attributes. Like tint.Err, which writes red-colored errors, tint.Attr can be used with other slog handlers (e.g. slog.JSONHandler) and does not emit raw ANSI codes.

What's Changed

Full Changelog: v1.0.7...v1.1.0

Don't miss a new tint release

NewReleases is sending notifications on new releases.