logging

package
v0.0.0-...-dff417c Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG = iota
	INFO
	WARN
	ERROR
)

Variables

This section is empty.

Functions

func InitOpenTracing

func InitOpenTracing(serviceName string) io.Closer

func StartSpanFromContext

func StartSpanFromContext(
	ctx context.Context, name string) (opentracing.Span, context.Context)

Types

type Logger

type Logger interface {
	Debug(...interface{})
	Info(...interface{})
	Warn(...interface{})
	Error(...interface{})
}

func StandardLogger

func StandardLogger(level int) Logger

Jump to

Keyboard shortcuts

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