Back to godoc.org

Package logs

v0.0.0-...-fc555c6
Latest Go to latest

The latest major version is .

Published: May 11, 2020 | License: MIT | Module: github.com/asofdate/hauth

Index

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()

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier