logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func Debug

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

func Debugf

func Debugf(template string, args ...any)

func Error

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

func Errorf

func Errorf(template string, args ...any)

func Fatal

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

func Fatalf

func Fatalf(template string, args ...any)

func Info

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

func Infof

func Infof(template string, args ...any)

func InitLogger

func InitLogger(silent bool)

func Panic

func Panic(msg string, fields ...zap.Field)

func Panicf

func Panicf(template string, args ...any)

func Warn

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

func Warnf

func Warnf(template string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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