MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / LogValue

Method LogValue

options/options.go:365–367  ·  view source on GitHub ↗

LogValue returns Options as [slog.Value]

()

Source from the content-addressed store, hash-verified

363
364// LogValue returns Options as [slog.Value]
365func (o *Options) LogValue() slog.Value {
366 return toSlogValue(o.NestedMap())
367}
368
369func (o *Options) nestedMap() map[string]any {
370 nm := make(map[string]any)

Callers 1

BenchmarkLogValueFunction · 0.45

Calls 2

NestedMapMethod · 0.95
toSlogValueFunction · 0.85

Tested by 1

BenchmarkLogValueFunction · 0.36