Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Key string Value interface{} }
Field is a key value pair that provides additional details about the trace.
type Trace ¶
type Trace struct {
// contains filtered or unexported fields
}
Trace keeps track of a set of "steps" and allows us to log a specific step if it took longer than its share of the total allowed time
func New ¶
New creates a Trace with the specified name. The name identifies the operation to be traced. The Fields add key value pairs to provide additional details about the trace, such as operation inputs.
Click to show internal directories.
Click to hide internal directories.