MCPcopy
hub / github.com/caddyserver/caddy / matchesModule

Method matchesModule

logging.go:525–527  ·  view source on GitHub ↗
(moduleID string)

Source from the content-addressed store, hash-verified

523}
524
525func (cl *CustomLog) matchesModule(moduleID string) bool {
526 return cl.loggerAllowed(moduleID, true)
527}
528
529// loggerAllowed returns true if name is allowed to emit
530// to cl. isModule should be true if name is the name of

Callers 1

LoggerMethod · 0.80

Calls 1

loggerAllowedMethod · 0.95

Tested by

no test coverage detected