log

package
v0.0.0-...-17d8d8c Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: GPL-3.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

View Source
const (
	LOG_FATAL = iota
	LOG_ERROR
	LOG_WARNING
	LOG_INFO
	LOG_DEBUG
)

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

func Debugf

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

func Error

func Error(v ...interface{})

func Errorf

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

func Fatal

func Fatal(v ...interface{})

func Fatalf

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

func GetLogLevel

func GetLogLevel() int

func Info

func Info(v ...interface{})

func Infof

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

func LogTypeToString

func LogTypeToString(t int) (string, string)

func SetColor

func SetColor(color bool)

func SetLevel

func SetLevel(level int)

func SetLevelByString

func SetLevelByString(level string)

func StringToLogLevel

func StringToLogLevel(level string) int

func Warning

func Warning(v ...interface{})

func Warningf

func Warningf(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