Registry / logging / inconshreveable-log15-v2

inconshreveable-log15-v2

JSON →
library2.16.0gogounverified

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

go get gopkg.in/inconshreveable/log15.v2
INSTALL
IMPORT
SIG · INCONSHREVEABLE-LO
I
inconshreveable-log15-v2
logginggov2.16.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.

log15
gopkg.in/inconshreveable/log15.v2

Create a logger and log an info message.

package main import ( "gopkg.in/inconshreveable/log15.v2" ) func main() { log := log15.New("module", "main") log.Info("Hello, world!") }
Debug
Known issues
gotchaLog15 v2 uses gopkg.in for versioning; ensure you import the correct version.
fix
Use gopkg.in/inconshreveable/log15.v2 for v2.x releases.
affects: >=2.0.0
Upgrade
Version history
2.16.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Amazon
1
Resources
inconshreveable-log15-v2 — go get inconshreveable-log15-v2 · libregistry