logger

package
v0.0.0-...-d6a6539 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InfoLevel = iota
	ErrorLevel
	Disabled
)

log levels

Variables

View Source
var (
	Error  = errorLog.Println
	Errorf = errorLog.Printf
	Info   = infoLog.Println
	Infof  = infoLog.Printf
)

log methods

Functions

func SetLevel

func SetLevel(level int)

SetLevel controls log level

Types

This section is empty.

Jump to

Keyboard shortcuts

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