Registry / logging / ipfs-go-log-v2

ipfs-go-log-v2

JSON →
library2.9.2gogounverified

The logging library used by IPFS and libp2p.

go get github.com/ipfs/go-log/v2
INSTALL
IMPORT
SIG · IPFS-GO-LOG-V2
I
ipfs-go-log-v2
logginggov2.9.2
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.

logging
github.com/ipfs/go-log/v2

Set log level and log a message

package main import ( "github.com/ipfs/go-log/v2" ) func main() { log.SetLogLevel("example", "info") log.Infof("Hello, world!") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
ipfs-go-log-v2 — go get ipfs-go-log-v2 · libregistry