Registry / logging / inconshreveable-log15

inconshreveable-log15

JSON →
library2.16.0+incompatiblegogounverified

An opinionated, simple toolkit for best-practice logging that is both human and machine readable.

go get github.com/inconshreveable/log15
INSTALL
IMPORT
SIG · INCONSHREVEABLE-LO
I
inconshreveable-log15
logginggov2.16.0+incompatible
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.

log15
github.com/inconshreveable/log15

Create a logger with context and log an info message

package main import ( "github.com/inconshreveable/log15" ) func main() { log := log15.New("module", "main") log.Info("Application started", "version", "1.0") }
Debug
Known issues
gotchaThe package uses 'incompatible' version suffix; consider using structured logging alternatives like logr or zap.
fix
Migrate to github.com/go-logr/logr or go.uber.org/zap for better performance and compatibility.
affects: >=2.0.0
Upgrade
Version history
2.16.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
inconshreveable-log15 — go get inconshreveable-log15 · libregistry