log

package
v0.40.5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(msg string, v ...interface{})

func Errorf

func Errorf(msg string, v ...interface{})

func Fatalf

func Fatalf(msg string, v ...interface{})

func FilterNonStackerLogs

func FilterNonStackerLogs(handler log.Handler, level log.Level)

func Infof

func Infof(msg string, v ...interface{})

func NewTextHandler

func NewTextHandler(out io.StringWriter, timestamp bool) log.Handler

func Warnf added in v0.40.2

func Warnf(msg string, v ...interface{})

Types

type TextHandler

type TextHandler struct {
	// contains filtered or unexported fields
}

func (*TextHandler) HandleLog

func (th *TextHandler) HandleLog(e *log.Entry) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL