Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trace ¶
type Trace struct {
// contains filtered or unexported fields
}
A Trace represents an active request.
func (*Trace) Error ¶
Error marks the trace as having seen an error, and also logs it to the trace's log.
func (*Trace) Finish ¶
func (t *Trace) Finish()
Finish the trace. It should not be changed after this is called.
func (*Trace) SetMaxEvents ¶
SetMaxEvents sets the maximum number of events that will be stored in the trace. It must be called right after initialization.
Click to show internal directories.
Click to hide internal directories.