Registry / logging / ipfs-go-log

ipfs-go-log

JSON →
library1.0.5gogounverified

Package log is the logging library used by IPFS, providing leveled logging with multiple outputs.

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

log
github.com/ipfs/go-log

Sets log level and logs a debug message.

package main import ( "github.com/ipfs/go-log" ) func main() { log.SetLogLevel("example", "debug") log.Debug("this is a debug message") }
Debug
Known issues
breakingThis package is deprecated in favor of go-log/v2.
fix
Use github.com/ipfs/go-log/v2 for new projects.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.0.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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