Categorygithub.com/searKing/golang/third_party/google.golang.org/grpc/grpclog/logruslogger
modulepackage
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
WithLogger sets Logger.
WithLoggerEntry sets Entry in Logger.
WithLoggerLevelTranslator sets LevelTranslator in Logger.
WithLoggerVerbose sets verbose in Logger.

# Structs

EmptyLoggerOption does not alter the configuration.
Logger adapts logrus's Logger to be compatible with [grpclog.LoggerV2], the experimental [grpclog.DepthLoggerV2] and the deprecated [grpclog.Logger].

# Interfaces

A LoggerOption sets options.

# Type aliases

LoggerOptionFunc wraps a function that modifies Logger into an implementation of the LoggerOption interface.