GRPC.Logger.Client (grpc v0.6.3-git-c634) View Source

Print log around client rpc calls, like

17:13:33.021 [info]  Call say_hello of helloworld.Greeter
17:13:33.079 [info]  Got :ok in 58ms

Usage

{:ok, channel} = GRPC.Stub.connect("localhost:50051", interceptors: [GRPC.Logger.Client])
{:ok, channel} = GRPC.Stub.connect("localhost:50051", interceptors: [{GRPC.Logger.Client, level: :info}])

Link to this section Summary

Link to this section Functions