log

package
v0.0.0-...-ea15551 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LevelTrace = iota
	LevelDebug
	LevelInfo
	LevelWarn
	LevelError
	LevelFatal
	LevelPanic
)

Variables

This section is empty.

Functions

func Debugw

func Debugw(msg string, args M)

func Errorw

func Errorw(msg string, args M)

func Fatalw

func Fatalw(msg string, args M)

func Infow

func Infow(msg string, args M)

func SetLevel

func SetLevel(level Level)

func SetOutput

func SetOutput(w io.Writer)

func Tracew

func Tracew(msg string, args M)

func Warnw

func Warnw(msg string, args M)

Types

type Level

type Level uint32

type M

type M map[string]any

Jump to

Keyboard shortcuts

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