log

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Infof(_ string, _ ...interface{})
	Debugf(_ string, _ ...interface{})
	Errorf(_ string, _ ...interface{})
}

Logger is an interface that library users can use It is based on logrus, but much smaller — That's because we don't want library users to have to implement all of the logrus's methods

type NoopLogger

type NoopLogger struct{}

func (*NoopLogger) Debugf

func (*NoopLogger) Debugf(_ string, _ ...interface{})

func (*NoopLogger) Errorf

func (*NoopLogger) Errorf(_ string, _ ...interface{})

func (*NoopLogger) Infof

func (*NoopLogger) Infof(_ string, _ ...interface{})

Jump to

Keyboard shortcuts

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