MCPcopy
hub / github.com/willnorris/imageproxy / logf

Method logf

imageproxy.go:524–530  ·  view source on GitHub ↗
(format string, v ...any)

Source from the content-addressed store, hash-verified

522}
523
524func (p *Proxy) logf(format string, v ...any) {
525 if p.Logger != nil {
526 p.Logger.Printf(format, v...)
527 } else {
528 log.Printf(format, v...)
529 }
530}
531
532// TransformingTransport is an implementation of http.RoundTripper that
533// optionally transforms images using the options specified in the request URL

Callers 4

TestProxy_logFunction · 0.95
TestProxy_log_defaultFunction · 0.95
NewProxyFunction · 0.95
serveImageMethod · 0.95

Calls

no outgoing calls

Tested by 2

TestProxy_logFunction · 0.76
TestProxy_log_defaultFunction · 0.76