proxy.golang.org : github.com/topi314/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. Colors can be customized using the `Options.LevelColors` and `Options.Colors` attributes. See tint.Options for details. 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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/topi314/tint
License: MIT
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/topi314
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago
github.com/topi314/gobin/v2 v2.1.0
A hastebin/pastebin compatible paste server2 versions - Latest release: 12 months ago - 19 stars on GitHub
github.com/topisenpai/gobin v1.6.0
Haste compatible pastebin server8 versions - Latest release: over 1 year ago - 12 stars on GitHub
github.com/TopiSenpai/gobin v1.6.0
Haste compatible pastebin server8 versions - Latest release: over 1 year ago - 12 stars on GitHub
github.com/topi314/gobin v1.6.0
A hastebin/pastebin compatible paste server8 versions - Latest release: over 1 year ago - 16 stars on GitHub
github.com/lavalink-devs/lavalink-bot v0.0.0-20231203185059-c6571c542160
Lavalink Test Discord Bot1 version - Latest release: over 1 year ago - 7 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.