MCPcopy
hub / github.com/rclone/rclone / LogValue

Function LogValue

fs/log.go:101–103  ·  view source on GitHub ↗

LogValue should be used as an argument to any logging calls to augment the JSON output with more structured information. key is the dictionary parameter used to store value.

(key string, value any)

Source from the content-addressed store, hash-verified

99//
100// key is the dictionary parameter used to store value.
101func LogValue(key string, value any) LogValueItem {
102 return LogValueItem{key: key, value: value, render: true}
103}
104
105// LogValueHide should be used as an argument to any logging calls to
106// augment the JSON output with more structured information.

Callers 2

SkipDestructiveFunction · 0.92
TestLogValueFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLogValueFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…