github.com/hex-techs/klog (go): Package klog 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:  Log output is buffered and written periodically using Flush. Programs should call Flush before exiting to guarantee all log output is written.  By default, all log statements write to standard error. This package provides several flags that modify this behavior. As a result, flag.Parse must be called before any logging is done.
Keywords: klog