Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

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

func Errorf

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

func Fatalf

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

func Infof

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

func Warnf

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

Types

type Logger

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

func GetLogger

func GetLogger() *Logger

func New

func New(level string) *Logger

func (*Logger) GetLevel

func (l *Logger) GetLevel() string

func (*Logger) SetLevel

func (l *Logger) SetLevel(level string) error

type RetryableHttpLogger

type RetryableHttpLogger struct{}

for go-retryablehttp

func (*RetryableHttpLogger) Debug

func (rhl *RetryableHttpLogger) Debug(msg string, keysAndValues ...interface{})

func (*RetryableHttpLogger) Error

func (rhl *RetryableHttpLogger) Error(msg string, keysAndValues ...interface{})

func (*RetryableHttpLogger) Info

func (rhl *RetryableHttpLogger) Info(msg string, keysAndValues ...interface{})

func (*RetryableHttpLogger) Warn

func (rhl *RetryableHttpLogger) Warn(msg string, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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