Registry / logging / aristanetworks-glog

aristanetworks-glog

JSON →
library0.0.0-20230526165355-887b527c72ffgogounverified

Leveled logging library similar to Google's C++ logging, with V-style verbosity control.

go get github.com/aristanetworks/glog
INSTALL
IMPORT
SIG · ARISTANETWORKS-GLO
A
aristanetworks-glog
logginggov0.0.0-20230526165355-887b527c72ff
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.

glog
github.com/aristanetworks/glog

Log an info message and a verbose message.

package main import ( "flag" "github.com/aristanetworks/glog" ) func main() { flag.Parse() glog.Info("This is an info message") glog.V(2).Info("Verbose message level 2") glog.Flush() }
Debug
Known issues
gotchaMust call flag.Parse() before logging
fix
Add flag.Parse() at the start of main()
affects: all
Upgrade
Version history
0.0.0-20230526165355-887b527c72fflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
Resources
aristanetworks-glog — go get aristanetworks-glog · libregistry