An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/lmittmann/tint

Package tint implements a zero-dependency slog.Handler that writes tinted (colorized) logs. The output format is inspired by the zerolog.ConsoleWriter and slog.TextHandler. The output format can be customized using Options, which is a drop-in replacement for slog.HandlerOptions. Options.ReplaceAttr can be used to alter or drop attributes. If set, it is called on each non-group attribute before it is logged. See slog.HandlerOptions for details. Colors are enabled by default and can be disabled using the Options.NoColor attribute. To automatically enable colors based on the terminal capabilities, use e.g. the go-isatty package. Color support on Windows can be added by using e.g. the go-colorable package.
16 versions
Latest release: plus d'un an ago
92 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/lmittmann/tint

Dependent Repos 0