marcoferrer / kroto-plus

gRPC Kotlin Coroutines, Protobuf DSL, Scripting for Protoc
Apache License 2.0
494 stars 28 forks source link

Instrument gRPC coroutines library with log statements #104

Open marcoferrer opened 4 years ago

marcoferrer commented 4 years ago

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.

marcoferrer commented 4 years ago

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

https://github.com/grpc/grpc-java/issues/1577