Registry / logging / alecthomas-log4go

alecthomas-log4go

JSON →
library0.0.0-20180109082532-d146e6b86faagogounverified

Provides level-based and highly configurable logging for Go applications.

go get github.com/alecthomas/log4go
INSTALL
IMPORT
SIG · ALECTHOMAS-LOG4GO
A
alecthomas-log4go
logginggov0.0.0-20180109082532-d146e6b86faa
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.

log4go
github.com/alecthomas/log4go

Create a logger and log an info message.

package main import ( "github.com/alecthomas/log4go" ) func main() { log := log4go.NewLogger() log.AddFilter("stdout", log4go.DEBUG, log4go.NewConsoleLogWriter()) log.Info("Hello, log4go!") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180109082532-d146e6b86faalatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
Resources
alecthomas-log4go — go get alecthomas-log4go · libregistry