log

package
v2.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(v ...interface{})

Print delegates to the Logger

func Printf

func Printf(format string, v ...interface{})

Printf delegates to the Logger

func SetLogger

func SetLogger(customLogger StdLogger)

SetLogger sets the logger for this package

Types

type StdLogger

type StdLogger interface {
	Print(v ...interface{})
	Printf(format string, v ...interface{})
}

StdLogger corresponds to a minimal subset of the interface satisfied by stdlib log.Logger

var Logger StdLogger

Jump to

Keyboard shortcuts

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