logs

package
v0.0.0-...-d1f39bd Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

Debug logs a message at debug level.

func Error

func Error(v ...interface{})

Error logs a message at error level.

func Fatal

func Fatal(v ...interface{})

Trace logs a message at trace level. compatibility alias for Warning()

func GetLogger

func GetLogger() *zap.SugaredLogger

没有参数时,返回系统正常操作日志接口 当有参数时,不管参数是什么值,返回紧急日志备份接口

func Info

func Info(v ...interface{})

Info compatibility alias for Warning()

func Infow

func Infow(msg string, keysAndValues ...interface{})

func Panic

func Panic(v ...interface{})

func Warn

func Warn(v ...interface{})

Warn compatibility alias for Warning()

Types

This section is empty.

Jump to

Keyboard shortcuts

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