package
Version:
v1.9.6-beta.0
Opens a new window with list of versions in this module.
Published: Mar 19, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FlushLogs flushes logs immediately.
InitLogs initializes logs the way we want for kubernetes.
func NewLogger(prefix string) *log.Logger
NewLogger creates a new log.Logger which sends logs to glog.Info.
GlogWriter serves as a bridge between the standard log package and the glog package.
func (writer GlogWriter) Write(data []byte) (n int, err error)
Write implements the io.Writer interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.