MCPcopy Create free account
hub / github.com/discourse/discourse-auth-proxy / rateLimitedLogger

Struct rateLimitedLogger

logging.go:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type rateLimitedLogger struct {
13 logger *log.Logger
14 limiter *rate.Limiter
15}
16
17func newRateLimitedLogger(out io.Writer, prefix string, flag int) *rateLimitedLogger {
18 return &rateLimitedLogger{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected