log

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App added in v0.9.0

func App() *zap.Logger

func Context

func Context(items map[string]interface{}) zap.Field

Context

func MQ added in v0.9.0

func MQ() *zap.Logger

MQ return mns log

func NewZap added in v0.9.0

func NewZap(filename string, enableLevel zapcore.LevelEnabler, initFields ...zap.Field) *zap.Logger

NewZap return zap logger instance

func Request added in v0.9.0

func Request() *zap.Logger

Request return request log

func System added in v0.9.0

func System() *zap.Logger

System return system log

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger

Jump to

Keyboard shortcuts

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