log

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(format string, params ...interface{})

Debugf logs a formatted debug message

func Errorf

func Errorf(format string, params ...interface{})

Errorf logs a formatted error message

func Fatalf

func Fatalf(format string, params ...interface{})

Fatalf logs a formatted fatal message

func GetLogger

func GetLogger() *zap.Logger

GetLogger returns the zap logger

func GetSugaredLogger

func GetSugaredLogger() *zap.SugaredLogger

GetSugaredLogger returns the sugared zap logger

func Infof

func Infof(format string, params ...interface{})

Infof logs a formatted info message

func InitLogger

func InitLogger(logLevel string)

InitLogger initializes colorized logger

func InitProdLogger added in v0.1.3

func InitProdLogger(logLevel string)

InitProdLogger initializes production logger

func Warnf

func Warnf(format string, params ...interface{})

Warnf logs a formatted warn message

Types

This section is empty.

Jump to

Keyboard shortcuts

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