log

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelDebug level = 0
	LevelInfo  level = 1
	LevelWarn  level = 2
	LevelError level = 3
	LevelFatal level = 4
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

func Debugf

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

func Error

func Error(msg string)

func Errorf

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

func Fatal

func Fatal(msg string)

func Fatalf

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

func Info

func Info(msg string)

func Infof

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

func Panic

func Panic(msg string)

func Panicf

func Panicf(msg string, args ...interface{})

func SetLevel

func SetLevel(l level)

func Warn

func Warn(msg string)

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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