Closed coleenquadros closed 10 months ago
Added usage example for disable log options. The following keys are default in the log and only these can be disabled -
SystemTag = []string{"protocol", "grpc"} ComponentFieldKey = "grpc.component" ServiceFieldKey = "grpc.service" MethodFieldKey = "grpc.method" MethodTypeFieldKey = "grpc.method_type"
Usage example - WithDisableLoggingFields(logging.MethodFieldKey, logging.MethodTypeFieldKey)
https://github.com/grpc-ecosystem/go-grpc-middleware/issues/679
@johanbrandhorst
Thanks a lot for this!!
Added usage example for disable log options. The following keys are default in the log and only these can be disabled -
Usage example - WithDisableLoggingFields(logging.MethodFieldKey, logging.MethodTypeFieldKey)
https://github.com/grpc-ecosystem/go-grpc-middleware/issues/679
Changes
Verification