logger

package
v0.0.0-...-6b7534b Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT 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(format string, data ...any)
	Debugf(format string, data ...any)
	Errorf(format string, data ...any)
	Warnf(format string, data ...any)
}

type NoopLogger

type NoopLogger struct{}

func (*NoopLogger) Debugf

func (n *NoopLogger) Debugf(format string, data ...any)

func (*NoopLogger) Errorf

func (n *NoopLogger) Errorf(format string, data ...any)

func (*NoopLogger) Infof

func (n *NoopLogger) Infof(format string, data ...any)

func (*NoopLogger) Warnf

func (n *NoopLogger) Warnf(format string, data ...any)

Jump to

Keyboard shortcuts

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