WithLogIgnoreMethods sets a list of methods for which no log messages are printed on success.
(methods []string)
| 112 | |
| 113 | // WithLogIgnoreMethods sets a list of methods for which no log messages are printed on success. |
| 114 | func WithLogIgnoreMethods(methods []string) Option { |
| 115 | return func(o *options) { |
| 116 | o.logIgnoreMethods = methods |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | // WithCorrelationIDsIgnoreMethods sets a list of methods for which no correlation IDs are injected. |
| 121 | func WithCorrelationIDsIgnoreMethods(methods []string) Option { |