Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeValue = "trace.1" SpanKey = "span" SpanIDKey = "id" SpanNameKey = "name" SpanParentIDKey = "parentId" SpanTimestampKey = "timestamp" SpanDurationKey = "duration" SpanAnnotationsKey = "annotations" AnnotationTimestampKey = "timestamp" AnnotationValueKey = "value" AnnotationEndpointKey = "endpoint" EndpointServiceNameKey = "serviceName" EndpointIPv4Key = "ipv4" EndpointIPv6Key = "ipv6" )
Variables ¶
This section is empty.
Functions ¶
func ApplyParam ¶
Types ¶
type Logger ¶
func DefaultLogger ¶
func DefaultLogger() Logger
func FromContext ¶
FromContext returns the Logger stored in the provided context. If no logger was set on the context, returns a logger that logs to STDOUT at the INFO level with an empty origin field.
func NewFromCreator ¶
func NewFromCreator(w io.Writer, creator wlog.LoggerCreator) Logger
func WithParams ¶
type Param ¶
type Param interface {
// contains filtered or unexported methods
}
func UnsafeParam ¶
func UnsafeParams ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.