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

Function WithLogIgnorePaths

pkg/web/web.go:135–139  ·  view source on GitHub ↗

WithLogIgnorePaths silences log messages for a list of URLs.

(paths []string)

Source from the content-addressed store, hash-verified

133
134// WithLogIgnorePaths silences log messages for a list of URLs.
135func WithLogIgnorePaths(paths []string) Option {
136 return func(o *options) {
137 o.logIgnorePaths = paths
138 }
139}
140
141// New builds a new server.
142func New(ctx context.Context, opts ...Option) (*Server, error) {

Callers 1

initWebMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected