logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: GPL-3.0 Imports: 2 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Debugf

func Debugf(message string, fields ...interface{})

func DefaultZap

func DefaultZap(isProduction bool, logFile string, level zapcore.Level)

func Error

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

func ErrorErr

func ErrorErr(message string, err error)

func Errorf

func Errorf(message string, fields ...interface{})

func Info

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

func Infof

func Infof(message string, fields ...interface{})

func UseZap

func UseZap(logger *zap.Logger)

func Warn

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

func WarnErr

func WarnErr(message string, err error)

func Warnf

func Warnf(message string, fields ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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