logger

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: BSD-3-Clause Imports: 1 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 {
	// Printf will be used for informational messages. These can be thought of
	// having an 'Info'-level in a structured logger.
	Printf(string, ...interface{})
	// Panicf will be only called an unexpected programming error such as a type
	// assertion which should never fail. Regular errors will be returned out
	// from the library.
	Panicf(string, ...interface{})
}

Logger is the interface Goka and its subpackages use for logging.

func Default

func Default() Logger

Default returns the standard library logger

Jump to

Keyboard shortcuts

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