grpclog

package
v0.0.0-...-1543348 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(baseLogger *zap.Logger, loglevel zapcore.Level) *zapgrpc.Logger

SetLogger constructs a zapgrpc.Logger instance, and installs it as grpc logger, cloned from baseLogger with exact configuration. The minimum level of gRPC logs is set to WARN should the loglevel of the collector is set to INFO to avoid copious logging from grpc framework.

Types

This section is empty.

Jump to

Keyboard shortcuts

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