log

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 2 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, attributes ...trace.Attribute)
	Error(err error, attributes ...trace.Attribute)
	Fatal(msg string, attributes ...trace.Attribute)
	Debug(msg string, attributes ...trace.Attribute)
}

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