Documentation ¶
Index ¶
- func NewDevelopmentLogger(lvl golog.Level) (golog.StdLogger, golog.Flusher)
- func NewProductionLogger(lvl golog.Level) (golog.StdLogger, golog.Flusher)
- func SpanID(span trace.SpanContext) golog.Field
- func TraceDecorator() golog.Decorator
- func TraceDecoratorOption() golog.Option
- func TraceID(span trace.SpanContext) golog.Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDevelopmentLogger ¶ added in v1.12.0
NewDevelopmentLogger returns a pre-configured logger for development environment adds a decorator for supporting opencensus decorator
func NewProductionLogger ¶ added in v1.12.0
NewProductionLogger returns a pre-configured logger for production environment adds a decorator for supporting opencensus decorator
func TraceDecorator ¶
func TraceDecoratorOption ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.