marcoferrer / kroto-plus

gRPC Kotlin Coroutines, Protobuf DSL, Scripting for Protoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instrument gRPC coroutines library with log statements

marcoferrer opened this issue · comments

It would be beneficial to users if they were able to enable log output when debugging issues with coroutines. One of the main reason this was avoided initially was because we didn’t want to tie users to a particular logging framework. Additionally we didn’t want to introduce any overhead into the library.

Using something like googles flogger would provide performant logging and allow users to include whichever backend matches their current logging framework.

This conversation from grpc-java sheds light on somethings that need to be considered when implementing this.

grpc/grpc-java#1577