logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopLogger

type NoopLogger struct {
}

NoopLogger is Logger implementation that doesn't produce any logs.

func NewNopLogger

func NewNopLogger() *NoopLogger

NewNopLogger creates new instance of NoopLogger.

func (*NoopLogger) Debug

func (l *NoopLogger) Debug(string, ...interface{})

Debug does nothing.

func (*NoopLogger) Error

func (l *NoopLogger) Error(string, ...interface{})

Error does nothing.

func (*NoopLogger) Info

func (l *NoopLogger) Info(string, ...interface{})

Info does nothing.

func (*NoopLogger) Warn

func (l *NoopLogger) Warn(string, ...interface{})

Warn does nothing.

func (*NoopLogger) With

func (l *NoopLogger) With(...interface{}) log.Logger

With returns new NoopLogger.

Jump to

Keyboard shortcuts

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