tracer

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRecordDo

func NewRecordDo(text string) (record parl.TracerRecord)

func NewTracer

func NewTracer() (tracer parl.Tracer)

func NewTracerNil

func NewTracerNil() (tracer parl.Tracer)

Types

type RecordDo

type RecordDo struct {
	At   time.Time
	Text string
}

func (*RecordDo) Values

func (rd *RecordDo) Values() (at time.Time, text string)

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func (*Tracer) Assign

func (tr *Tracer) Assign(threadID goid.ThreadID, task parl.TracerTaskID) (tr2 parl.Tracer)

func (*Tracer) Record

func (tr *Tracer) Record(threadID goid.ThreadID, text string) (tr2 parl.Tracer)

func (*Tracer) Records

func (tr *Tracer) Records(clear bool) (records map[parl.TracerTaskID][]parl.TracerRecord)

Jump to

Keyboard shortcuts

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