CovenantSQL: github.com/CovenantSQL/CovenantSQL/utils/trace Index | Files

package trace

import "github.com/CovenantSQL/CovenantSQL/utils/trace"

Index

Package Files

trace_go111.go

func IsEnabled Uses

func IsEnabled() bool

IsEnabled wraps runtime/trace.IsEnabled.

func Log Uses

func Log(ctx context.Context, category, message string)

Log wraps runtime/trace.Log.

func Logf Uses

func Logf(ctx context.Context, category, message string, args ...interface{})

Logf wraps runtime/trace.Logf.

func Start Uses

func Start(w io.Writer) (err error)

Start wraps runtime/trace.Start.

func Stop Uses

func Stop()

Stop wraps runtime/trace.Stop.

func WithRegion Uses

func WithRegion(ctx context.Context, regionType string, fn func())

WithRegion wraps runtime/trace.WithRegion.

type Region Uses

type Region = trace.Region

Region wraps runtime/trace.Task.

func StartRegion Uses

func StartRegion(ctx context.Context, regionType string) (region *Region)

StartRegion wraps runtime/trace.StartRegion.

type Task Uses

type Task = trace.Task

Task wraps runtime.trace.Task.

func NewTask Uses

func NewTask(pctx context.Context, taskType string) (ctx context.Context, task *Task)

NewTask wraps runtime/trace.NewTask.

Package trace imports 3 packages (graph) and is imported by 4 packages. Updated 2019-01-30. Refresh now. Tools for package owners.