Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2015 License: MIT, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(v ...interface{})

func Printf

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

func SetLogger

func SetLogger(customLogger StdLogger)

Types

type StdLogger

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

Logger 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