proxy.golang.org : github.com/grpc-ecosystem/go-grpc-middleware/logging/settable
grpc_logsettable contains a thread-safe wrapper around grpc-logging infrastructure. The go-grpc assumes that logger can be only configured once as the `SetLoggerV2` method is: ```Not mutex-protected, should be called before any gRPC functions.``` This package allows to supply parent logger once ("before any grpc"), but later change underlying implementation in thread-safe way when needed. It's in particular useful for testing, where each testcase might need its own logger.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/grpc-ecosystem/go-grpc-middleware/logging/settable
Keywords:
authentication
, generic-functions
, golang
, grpc
, interceptor
, library
, logging
, middleware
, retries
, testing
License: Apache-2.0
Latest release: 2 days ago
Namespace: github.com/grpc-ecosystem/go-grpc-middleware/logging
Stars: 6,258 on GitHub
Forks: 690 on GitHub
Total Commits: 297
Committers: 124
Average commits per author: 2.395
Development Distribution Score (DDS): 0.758
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago