log

package
v0.6.0-fork-0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dummy = &dummy{}

Dummy logger doesn't log anything

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Infof(format string, args ...interface{})
	Warningf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
}

Logger is the interface that the loggers used by the library will use.

type Std

type Std struct{}

Std is a wrapper for go standard library logger.

func (*Std) Errorf

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

func (*Std) Infof

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

func (*Std) Warningf

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

Jump to

Keyboard shortcuts

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