log

package
v0.0.0-...-d461811 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Error

func Error(err error) zap.Field

func Float64

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

func InitArchiveZapLogger

func InitArchiveZapLogger(logFile string) *zap.Logger

func InitLogger

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