log

package module
v0.0.0-...-bd8e9f2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 1 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 {
	Debug(msg string, keyvals ...interface{})
	Info(msg string, keyvals ...interface{})
	Error(msg string, keyvals ...interface{})

	With(keyvals ...interface{}) cmlog.Logger
}

Logger is the interface that wraps the basic logging methods.

func NewNopLogger

func NewNopLogger() Logger

type NoOp

type NoOp struct{}

func (NoOp) Debug

func (l NoOp) Debug(msg string, keyvals ...interface{})

func (NoOp) Error

func (l NoOp) Error(msg string, keyvals ...interface{})

func (NoOp) Info

func (l NoOp) Info(msg string, keyvals ...interface{})

func (NoOp) With

func (l NoOp) With(i ...interface{}) cmlog.Logger

Jump to

Keyboard shortcuts

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