package zap
import "github.com/uber/jaeger-client-go/log/zap"
Index ¶
Functions ¶
func Trace ¶
Trace creates a field that extracts tracing information from a context and includes it under the "trace" key.
Because the opentracing APIs don't expose this information, the returned zap.Field is a no-op for contexts that don't contain a span or contain a non-Jaeger span.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is an adapter from zap Logger to jaeger-lib Logger.
func NewLogger ¶
NewLogger creates a new Logger.
func (*Logger) Error ¶
Error logs a message at error priority
func (*Logger) Infof ¶
Infof logs a message at info priority
Source Files ¶
- Version
- v2.3.0+incompatible
- Published
- Mar 20, 2017
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 1 minute ago –
Tools for package owners.