MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / WithLogIgnoreMethods

Function WithLogIgnoreMethods

pkg/rpcserver/rpcserver.go:114–118  ·  view source on GitHub ↗

WithLogIgnoreMethods sets a list of methods for which no log messages are printed on success.

(methods []string)

Source from the content-addressed store, hash-verified

112
113// WithLogIgnoreMethods sets a list of methods for which no log messages are printed on success.
114func 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.
121func WithCorrelationIDsIgnoreMethods(methods []string) Option {

Callers 1

initGRPCMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected