Module: GRPC
- Extended by:
- DefaultLogger, RubyLogger, StdoutLogger
- Defined in:
- src/ruby/pb/test/client.rb,
src/ruby/pb/test/server.rb,
src/ruby/bin/math_server.rb,
src/ruby/lib/grpc/errors.rb,
src/ruby/lib/grpc/version.rb,
src/ruby/spec/spec_helper.rb,
src/ruby/lib/grpc/notifier.rb,
src/ruby/lib/grpc/logconfig.rb,
src/ruby/pb/test/xds_client.rb,
src/ruby/spec/support/helpers.rb,
src/ruby/lib/grpc/generic/service.rb,
src/ruby/lib/grpc/core/time_consts.rb,
src/ruby/lib/grpc/generic/rpc_desc.rb,
src/ruby/lib/grpc/core/status_codes.rb,
src/ruby/lib/grpc/generic/bidi_call.rb,
src/ruby/lib/grpc/generic/rpc_server.rb,
src/ruby/lib/grpc/generic/active_call.rb,
src/ruby/lib/grpc/generic/client_stub.rb,
src/ruby/lib/grpc/generic/interceptors.rb,
src/ruby/lib/grpc/google_rpc_status_utils.rb,
src/ruby/lib/grpc/generic/interceptor_registry.rb
Overview
GRPC contains the General RPC module.
Defined Under Namespace
Modules: Core, DefaultLogger, GenericService, Spec Classes: Aborted, ActiveCall, AlreadyExists, BadStatus, BidiCall, Cancelled, ClientInterceptor, ClientStub, DataLoss, DeadlineExceeded, FailedPrecondition, GoogleRpcStatusUtils, InterceptionContext, Interceptor, InterceptorRegistry, Internal, InvalidArgument, NotFound, Notifier, Ok, OutOfRange, PermissionDenied, Pool, ResourceExhausted, RpcDesc, RpcServer, ServerInterceptor, Unauthenticated, Unavailable, Unimplemented, Unknown
Constant Summary collapse
- VERSION =
'1.67.0'
Constants included from RubyLogger
Constants included from StdoutLogger
Class Method Summary collapse
Methods included from RubyLogger
Methods included from StdoutLogger
Methods included from DefaultLogger
Class Method Details
.logger=(logger_obj) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'src/ruby/lib/grpc/logconfig.rb', line 17 def self.logger=(logger_obj) # Need a free variable here to keep value of logger_obj for logger closure @logger = logger_obj extend( Module.new do def logger @logger end end ) end |