log

package
v1.0.1-0...-fed4e36 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FATAL = 0 // fatal only
	WARN  = 1 // warn + fatal
	INFO  = 2 // all
)

Variables

View Source
var (
	// IsShellMode determines what to print to.
	// if false, use logrus. if true, print raw to tty
	IsShellMode = false
)

Functions

func Fatal

func Fatal(err error)

func Info

func Info(format string, args ...interface{})

func Prompt

func Prompt(p string)

func SetLoggingLevel

func SetLoggingLevel(l int)

func Success

func Success(format string, args ...interface{})

func WInfo

func WInfo(w http.ResponseWriter, format string, args ...interface{})

func WWarn

func WWarn(w http.ResponseWriter, format string, args ...interface{})

func Warn

func Warn(format 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