logging

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

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

Debugf logs to stdout if the verbose flag is set in the format of fmt.Printf

func Debugln

func Debugln(msg ...interface{})

Debugln logs to stdout if the verbose flag is set in the format of fmt.Println

func Errorf

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

Errorf logs a string to stderr and exits the program with exit code 1 in the format of fmt.Fatalf

func Errorln

func Errorln(msg ...interface{})

Errorln logs a string to stderr and exits the program with exit code 1 in the format of fmt.Fatalln

func Infof

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

Infof logs to stdout in the format of fmt.Printf

func Infoln

func Infoln(msg ...interface{})

Infoln logs to stdout in the format of fmt.Println

func Warnf

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

Warnf logs to stderr in the format of fmt.Printf

func Warnln

func Warnln(msg ...interface{})

Warnln logs to stderr in the format of fmt.Println

Types

This section is empty.

Jump to

Keyboard shortcuts

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