Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
0
Description
It looks something like
// if opts.Logger != nil {
// loggerOpts := []logging.OptionUnknown macro: { // logging.WithLogOnEvents(logging.StartCall, logging.FinishCall), // }// loggerDialOpts = []grpc.DialOption
Unknown macro: { // grpc.WithChainUnaryInterceptor(logging.UnaryClientInterceptor(interceptorLogger(opts.Logger), loggerOpts...)), // grpc.WithChainStreamInterceptor(logging.StreamClientInterceptor(interceptorLogger(opts.Logger), loggerOpts...)), // }// }
However because zap only has a max logging level of debug it'll cause a lot of spam so we need to work that bit out first.