log

package
v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 2 Imported by: 16

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