tracer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTracer

func SetTracer(customTracer Tracer)

func Trace

func Trace(ctx context.Context, format string, args ...interface{})

func TraceFuncCall

func TraceFuncCall(ctx context.Context, funcName string) func()

Types

type DummyTracer

type DummyTracer struct{}

func (*DummyTracer) Trace

func (dl *DummyTracer) Trace(ctx context.Context, format string, args ...interface{})

type Tracer

type Tracer interface {
	Trace(ctx context.Context, format string, args ...interface{})
}

Tracer tracing interface for gobrick

Jump to

Keyboard shortcuts

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