README ¶ gklog The goal is similar to klog-gokit but with a different approach. Rather than replacing the klog's public methods (eg Info(), Error, ...), this library leverages klog.SetOutputBySeverity() which passes log data to an io.Writer instance. Check the example program for usage. Note that it isn't fully functional as messages can be logged several times (see https://github.com/kubernetes/klog/issues/23 for more details). Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Init(l log.Logger, verbosity int32) type Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(l log.Logger, verbosity int32) Types ¶ type Logger ¶ type Logger struct { // contains filtered or unexported fields } Source Files ¶ View all Source files gklog.go Directories ¶ Show internal Expand all Path Synopsis examples Click to show internal directories. Click to hide internal directories.