utils

package
v0.0.0-...-6415450 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZapFieldToOpentracing

func ZapFieldToOpentracing(zapField zapcore.Field) opentracinglog.Field

ZapFieldToOpentracing returns a standard opentracing field based on the input Zap field.

func ZapFieldsToOpentracing

func ZapFieldsToOpentracing(zapFields ...zapcore.Field) []opentracinglog.Field

ZapFieldsToOpentracing returns a table of standard opentracing field based on the inputed table of Zap field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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