logger

package
v0.1.95 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const LogCorrelationIDName = "correlation_id"

LogCorrelationIDName wellknown name

View Source
const LogParentName = "parent"

LogParentName wellknown name

View Source
const LogSpanName = "span"

LogSpanName wellknown name

View Source
const XCorrelationIDName = "x-correlation-id"

XCorrelationIDName wellknown name

View Source
const XParentName = "x-parent"

XParentName wellknown name

View Source
const XRequestID = "x-request-id"

XRequestID wellknown name

View Source
const XSpanName = "x-span"

XSpanName wellknown name

Variables

This section is empty.

Functions

func EnsureContextLoggingUnaryServerInterceptor

func EnsureContextLoggingUnaryServerInterceptor() grpc.UnaryServerInterceptor

LoggingUnaryServerInterceptor returns a new unary server interceptors that performs request logging in JSON format

func EnsureCorrelationIDUnaryServerInterceptor

func EnsureCorrelationIDUnaryServerInterceptor() grpc.UnaryServerInterceptor

func LoggingUnaryServerInterceptor

func LoggingUnaryServerInterceptor() grpc.UnaryServerInterceptor

LoggingUnaryServerInterceptor returns a new unary server interceptors that performs request logging in JSON format

Types

This section is empty.

Jump to

Keyboard shortcuts

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