log

package
v0.0.0-...-1bb2421 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Bool

func Bool(k string, v bool) zap.Field

func Error

func Error(err error) zap.Field

func Float64

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

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