Registry / logging / influxdata-wlog

influxdata-wlog

JSON →
library0.0.0-20160411224016-7c63b0a71ef8gogounverified

Provides an io.Writer that filters log messages based on a log level (DEBUG, INFO, WARN, ERROR).

go get github.com/influxdata/wlog
INSTALL
IMPORT
SIG · INFLUXDATA-WLOG
I
influxdata-wlog
logginggov0.0.0-20160411224016-7c63b0a71ef8
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.

wlog
github.com/influxdata/wlog

Creates a logger that filters messages by level

package main import ( "log" "os" "github.com/influxdata/wlog" ) func main() { logger := log.New(os.Stderr, "", log.LstdFlags) logger.SetOutput(wlog.New(os.Stderr, wlog.INFO)) logger.Println("This is an info message") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160411224016-7c63b0a71ef8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
influxdata-wlog — go get influxdata-wlog · libregistry