logging

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagTraceId = "trace.trace_id"
	TagSpanId  = "trace.span_id"
	TagSampled = "trace.sampled"
)

Variables

This section is empty.

Functions

func DefaultInterceptorLogger

func DefaultInterceptorLogger(l *zap.Logger) logging.Logger

DefaultInterceptorLogger adapts zap logger to interceptor logger. This code is simple enough to be copied and not imported.

func DefaultOpts

func DefaultOpts() []logging.Option

DefaultOpts 获取logging 配置

Types

This section is empty.

Jump to

Keyboard shortcuts

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