MCPcopy Create free account
hub / github.com/One-com/gone / ToggleAccessLog

Method ToggleAccessLog

http/handlers/accesslog/loghandler.go:33–33  ·  view source on GitHub ↗

ToggleAccessLog controls which io.Writer accesslog is written to. call (nil, w) to turn accesslog on a io.Writer on. call (w, nil) to turn the accesslog of an io.Writer off call (nil,nil) to turn accesslog completely off. call (old,new) to atomically which accesslog from one io.Writer to another

(old, new io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

serveFunction · 0.95
InvokeMethod · 0.65

Implementers 1

logHandlerhttp/handlers/accesslog/loghandler.go

Calls

no outgoing calls

Tested by 1

serveFunction · 0.76