1 // 2 /* 3 grpc_logsettable contains a thread-safe wrapper around grpc-logging 4 infrastructure. 5 6 The go-grpc assumes that logger can be only configured once as the `SetLoggerV2` 7 method is: 8 ```Not mutex-protected, should be called before any gRPC functions.``` 9 10 This package allows to supply parent logger once ("before any grpc"), but 11 later change underlying implementation in thread-safe way when needed. 12 13 It's in particular useful for testing, where each testcase might need its own 14 logger. 15 */ 16 package grpc_logsettable 17