Package Usage: go: github.com/thomasf/lg
Go support for leveled logs
This is a fork of https://github.com/golang/glog with changes:
• Added support for colored levels/package highlighting.
• Added simple in memory logging.
• Added package pkg/promethues which has a prometheus line numbers per level metric counters.
• Added support package pkg/lgexpire for expiering old lg/glog logs.
Copyright 2013 Google Inc. All Rights Reserved.
Package lg implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
It provides functions Info, Warning, Error, Fatal, plus formatting variants such as
Infof. It also provides V-style logging controlled by the -v and -vmodule=file=2 flags.
Basic examples:
See the documentation for the V function for an explanation of these examples:
2 versions
Latest release: over 3 years ago
1 dependent package
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/thomasf/lg
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/thomasf%2Flg
Dependent Repos 1
thomasf/yeelight 📦
yeelight wifi light bulb api and mqtt bridgeSize: 1.37 MB - Last synced: 6 months ago - Pushed: over 3 years ago
