log

package
v0.0.0-...-fd6794a Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelNone = iota
	LevelDebug
	LevelInfo
	LevelWarn
	LevelError
	LevelCrit
)

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

func Debugf

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

func Debugln

func Debugln(v ...interface{})

func Error

func Error(v ...interface{})

func Errorf

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

func Errorln

func Errorln(v ...interface{})

func Fatal

func Fatal(v ...interface{})

func Fatalf

func Fatalf(f string, v ...interface{})

func Fataln

func Fataln(v ...interface{})

func Info

func Info(v ...interface{})

func Infof

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

func Infoln

func Infoln(v ...interface{})

func Log

func Log(l Level, m string)

func NoColor

func NoColor()

func Print

func Print(v ...interface{})

func Printf

func Printf(f string, v ...interface{})

func Println

func Println(v ...interface{})

func SetLogLevel

func SetLogLevel(l Level)

func SetLogLevelString

func SetLogLevelString(s string) error

func SetMultiOutput

func SetMultiOutput(writers ...io.Writer)

func Warn

func Warn(v ...interface{})

func Warnf

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

func Warnln

func Warnln(v ...interface{})

Types

type Level

type Level int

func LogLevel

func LogLevel() Level

func (Level) String

func (l Level) String() string

Jump to

Keyboard shortcuts

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