log

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug = zaplog.Debug
	Info  = zaplog.Info
	Warn  = zaplog.Warn
	Error = zaplog.Error
)

Functions

func Field

func Field(key string, val interface{}) zap.Field

func Init

func Init(level, filename string) error

func SwitchLevel

func SwitchLevel(err error) func(msg string, fields ...zap.Field)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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