logging

package
Version: v2.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush()

Flush flushes logs immediately.

func Init

func Init()

Init initializes logs the way we want.

Types

type LogWriter

type LogWriter struct{}

LogWriter serves as a bridge between the standard log package and the glog package.

func (LogWriter) Write

func (writer LogWriter) Write(data []byte) (n int, err error)

Write implements the io.Writer interface.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL