logging

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package logging contains logging middleware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggingInterceptor

func NewLoggingInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor

NewLoggingInterceptor creates a new logging interceptor for gRPC unary server requests.

func NewStreamingLoggingInterceptor

func NewStreamingLoggingInterceptor(logger logger.Logger) grpc.StreamServerInterceptor

NewStreamingLoggingInterceptor creates a new streaming logging interceptor for gRPC stream server requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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