logger

package
v0.0.0-...-c5b7652 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 2 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(args ...interface{})

	Info(args ...interface{})

	Warning(args ...interface{})

	Error(args ...interface{})

	Debugf(format string, args ...interface{})

	Infof(format string, args ...interface{})

	Warningf(format string, args ...interface{})

	Errorf(format string, args ...interface{})
}

type Noop

type Noop struct {
}

Noops logs nothing

func (*Noop) Debug

func (s *Noop) Debug(args ...interface{})

func (*Noop) Debugf

func (s *Noop) Debugf(format string, args ...interface{})

func (*Noop) Error

func (s *Noop) Error(args ...interface{})

func (*Noop) Errorf

func (s *Noop) Errorf(format string, args ...interface{})

func (*Noop) Info

func (s *Noop) Info(args ...interface{})

func (*Noop) Infof

func (s *Noop) Infof(format string, args ...interface{})

func (*Noop) Warning

func (s *Noop) Warning(args ...interface{})

func (*Noop) Warningf

func (s *Noop) Warningf(format string, args ...interface{})

type Stdout

type Stdout struct {
}

Stdout logs to stdout using Go's log package

func (*Stdout) Debug

func (s *Stdout) Debug(args ...interface{})

func (*Stdout) Debugf

func (s *Stdout) Debugf(format string, args ...interface{})

func (*Stdout) Error

func (s *Stdout) Error(args ...interface{})

func (*Stdout) Errorf

func (s *Stdout) Errorf(format string, args ...interface{})

func (*Stdout) Info

func (s *Stdout) Info(args ...interface{})

func (*Stdout) Infof

func (s *Stdout) Infof(format string, args ...interface{})

func (*Stdout) Warning

func (s *Stdout) Warning(args ...interface{})

func (*Stdout) Warningf

func (s *Stdout) Warningf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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