logger

package
v1.16.5 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// WithLogger replaces default logger
	WithLogger = logger.WithLogger
	// InitLog is an initialization for a logger
	// level can be: debug info warn error
	InitLog = logger.InitLog
	// InitLog2 specify advanced log config
	InitLog2 = logger.InitLog2
	// Debugf log to level debug
	Debugf = logger.Debugf

	// Infof log to level info
	Infof = logger.Infof

	// Warnf log to level warn
	Warnf = logger.Warnf
	// Errorf log to level error
	Errorf = logger.Errorf

	// FatalfIf log to level error
	FatalfIf = logger.FatalfIf

	// FatalIfError if err is not nil, then log to level fatal and call os.Exit
	FatalIfError = logger.FatalIfError
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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