log

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger       *zap.Logger
	AccessLogger *zap.Logger

	LogLevel string
)

Functions

func Error

func Error(err error) zap.Field

func Float64

func Float64(k string, v float64) zap.Field

func InitArchiveZapLogger

func InitArchiveZapLogger(filePath string) *zap.Logger

func InitLogger added in v1.9.0

func InitLogger()

func Int

func Int(k string, v int) zap.Field

func Int64

func Int64(k string, v int64) zap.Field

func JsonObj

func JsonObj(k string, v interface{}) zap.Field

func String

func String(k, v string) zap.Field

func StringList

func StringList(k string, v []string) zap.Field

Types

This section is empty.

Jump to

Keyboard shortcuts

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