log

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package log extends the log package in the stdlib.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// Log creates a log event from keyvals, a variadic sequence of alternating keys and values.
	Log(keyvals ...interface{}) error
}

Logger is a structured logger.

See github.com/go-kit/kit/log package for details.

func NewNopLogger

func NewNopLogger() Logger

NewNopLogger returns a logger that doesn't do anything.

Jump to

Keyboard shortcuts

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