logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelErr = iota
	LogLevelWarn
	LogLevelInfo
	LogLevelDebug
)
View Source
const LogLevel = LogLevelInfo

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

func Debugf

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

func Error

func Error(msg string)

func Errorf

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

func Info

func Info(msg string)

func Infof

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

func Init

func Init(w io.Writer)

func InitDebug

func InitDebug(w io.Writer)

func Warn

func Warn(msg string)

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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