log

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 4 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(msg string, fields ...log.Field)
	Error(err error, fields ...log.Field)
	Fatal(msg string, fields ...log.Field)
	Debug(msg string, fields ...log.Field)
}

Logger is the interface for opentracing logging

func For

func For(ctx context.Context) Logger

For will return a logger for a given context

Jump to

Keyboard shortcuts

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