log

package
v0.0.0-...-83f64a2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

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

func Infof

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

func SetLogger

func SetLogger(logger Logger)

Types

type LogLevel

type LogLevel int
const (
	Info LogLevel = iota
	Error
)

type Logger

type Logger interface {
	Infof(msg string, keysAndValues ...interface{})
	Errorf(msg string, keysAndValues ...interface{})
}

func Default

func Default() Logger

Jump to

Keyboard shortcuts

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