Registry / logging / sagikazarmark-slog-shim

sagikazarmark-slog-shim

JSON →
library0.1.0gogounverified

Provides a compatibility shim for the Go slog logging package across different Go versions.

go get github.com/sagikazarmark/slog-shim
INSTALL
IMPORT
SIG · SAGIKAZARMARK-SLOG
S
sagikazarmark-slog-shim
logginggov0.1.0
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.

slog
github.com/sagikazarmark/slog-shim

Logs an info message using the slog-shim package.

package main import ( "github.com/sagikazarmark/slog-shim" ) func main() { slog.Info("Hello, world!") }
Debug
Known issues
gotchaThis shim may not support all features of the standard slog package in newer Go versions.
fix
Use the standard log/slog package if you are on Go 1.21 or later.
affects: >=0.1.0
Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Amazon
1
Resources