Registry / logging / lmittmann-tint

lmittmann-tint

JSON →
library1.1.3gogounverified

Package tint implements a zero-dependency slog.Handler that writes tinted (colorized) logs.

go get github.com/lmittmann/tint
INSTALL
IMPORT
SIG · LMITTMANN-TINT
L
lmittmann-tint
logginggov1.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tint
github.com/lmittmann/tint

Create a default slog logger with tinted output.

package main import ( "log/slog" "github.com/lmittmann/tint" ) func main() { slog.SetDefault(slog.New(tint.NewHandler(nil, nil))) slog.Info("hello world") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
lmittmann-tint — go get lmittmann-tint · libregistry