logger

package
v0.0.0-...-a41b718 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug wraps logging.Debug

func Debugf

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

Debugf wraps logging.Debugf

func Error

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

Error wraps logging.Error

func Errorf

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

Errorf wraps logging.Errorf

func Fatal

func Fatal(args ...interface{})

Fatal wraps logging.Fatal

func Fatalf

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

Fatalf wraps logging.Fatalf

func Info

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

Info wraps logging.Info

func Infof

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

Infof wraps logging.Infof

func InitLogger

func InitLogger(name string, debug bool)

InitLogger initialize logging instance It MUST be called and can only be called 1 time

func Logger

func Logger() *logging.Logger

Logger return the logging instance

func Notice

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

Notice wraps logging.Notice

func Noticef

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

Noticef wraps logging.Noticef

func Panic

func Panic(args ...interface{})

Panic wraps logging.Panic

func Panicf

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

Panicf wraps logging.Panicf

func Temp

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

Temp just a temp log...

func Warn

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

Warn wraps logging.Warning

func Warnf

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

Warnf wraps logging.Warningf

func Warning

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

Warning wraps logging.Warning

func Warningf

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

Warningf wraps logging.Warningf

Types

This section is empty.

Jump to

Keyboard shortcuts

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