logger

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(a ...interface{})

Debug calls the same method on global logger.

func DebugDepth

func DebugDepth(depth int, a ...interface{})

DebugDepth calls the same method on global logger.

func Debugf

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

Debugf calls the same method on global logger.

func DebugfDepth

func DebugfDepth(depth int, f string, a ...interface{})

DebugfDepth calls the same method on global logger.

func Fatal

func Fatal(a ...interface{})

Fatal calls the same method on global logger.

func FatalDepth

func FatalDepth(depth int, a ...interface{})

FatalDepth calls the same method on global logger.

func Fatalf

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

Fatalf calls the same method on global logger.

func FatalfDepth

func FatalfDepth(depth int, f string, a ...interface{})

FatalfDepth calls the same method on global logger.

func Get

func Get() log.Logger

Get gets the logger.

func Info

func Info(a ...interface{})

Info calls the same method on global logger.

func InfoDepth

func InfoDepth(depth int, a ...interface{})

InfoDepth calls the same method on global logger.

func Infof

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

Infof calls the same method on global logger.

func InfofDepth

func InfofDepth(depth int, f string, a ...interface{})

InfofDepth calls the same method on global logger.

func InitSyslog

func InitSyslog(target, tag string)

func SetLevel

func SetLevel(level string)

func Warn

func Warn(a ...interface{})

Warn calls the same method on global logger.

func WarnDepth

func WarnDepth(depth int, a ...interface{})

WarnDepth calls the same method on global logger.

func Warnf

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

Warnf calls the same method on global logger.

func WarnfDepth

func WarnfDepth(depth int, f string, a ...interface{})

WarnfDepth calls the same method on global logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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