package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Mar 6, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Field instances are constructed via Bool, String, and so on.
"heavily influenced by" (i.e., partially stolen from)
https://github.com/opentracing/opentracing-go/log
Bool adds a bool-valued key:value pair to a Span.LogFields() record
Uint64 adds a uint64-valued key:value pair to a Span.LogFields() record
Float64 adds a float64-valued key:value pair to a Span.LogFields() record
/ Int64 adds an int64-valued key:value pair to a Span.LogFields() record
String adds a string-valued key:value pair to a Span.LogFields() record
Uint64 adds a uint64-valued key:value pair to a Span.LogFields() record
Key returns the field's key.
String returns a string representation of the key and value.
func (lf Field) Value() interface{}
Value returns the field's value as interface{}.
New creates a new set of fields, sorted by Key.
Duplicate keys are removed.
Merge merges other with the current set, replacing any matching keys from other.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.