MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / SetExcludePaths

Function SetExcludePaths

pkg/logger/logger.go:466–468  ·  view source on GitHub ↗

SetExcludePaths sets the path to exclude from logging, eg: health checks

(s []string)

Source from the content-addressed store, hash-verified

464
465// SetExcludePaths sets the path to exclude from logging, eg: health checks
466func SetExcludePaths(s []string) {
467 std.SetExcludePaths(s)
468}
469
470// SetStandardTemplate sets the template for standard logging for
471// the standard logger.

Callers 2

configureLoggerFunction · 0.92

Calls 1

SetExcludePathsMethod · 0.80

Tested by

no test coverage detected