zlog

package
v0.0.0-...-209974d Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cl

func Cl() *zap.SugaredLogger

Cl impl

func Debug

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

Debug log Debug events

func Error

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

Error log error events

func Fatal

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

Fatal log Fatal events

func GiveLogger

func GiveLogger() *zap.SugaredLogger

GiveLogger impl

func Info

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

Info log info event

func Panic

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

Panic log panic events

func Warn

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

Warn log warn event

Types

This section is empty.

Jump to

Keyboard shortcuts

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