We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ade00c commit 9e92fd5Copy full SHA for 9e92fd5
interceptors/logging/options.go
@@ -208,6 +208,14 @@ func WithTimestampFormat(format string) Option {
208
}
209
210
// WithDisableLoggingFields disables logging of gRPC fields provided.
211
+// The following are the default logging fields:
212
+// - SystemTag[0]
213
+// - ComponentFieldKey
214
+// - ServiceFieldKey
215
+// - MethodFieldKey
216
+// - MethodTypeFieldKey
217
+//
218
+// Usage example - WithDisableLoggingFields(logging.MethodFieldKey, logging.MethodTypeFieldKey)
219
func WithDisableLoggingFields(disableGrpcLogFields ...string) Option {
220
return func(o *options) {
221
o.disableGrpcLogFields = disableGrpcLogFields
0 commit comments