golog

package
v0.0.0-...-aec2e1a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Debug

func Debug(template string, fields ...zap.Field)

func Error

func Error(template string, fields ...zap.Field)

func Fatal

func Fatal(template string, fields ...zap.Field)

func Info

func Info(template string, fields ...zap.Field)

func InitZapLog

func InitZapLog(level, path string) error

func SetDefaultZapLog

func SetDefaultZapLog() error

func Warn

func Warn(template string, fields ...zap.Field)

Types

type Logger

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

func GetLogger

func GetLogger() *Logger

func (Logger) Write

func (l Logger) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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