MCPcopy Create free account
hub / github.com/pydio/cells / logAsString

Method logAsString

common/sync/proc/processor.go:338–343  ·  view source on GitHub ↗

logAsStrings transforms zap Fields to string

(msg string, err error, fields ...zapcore.Field)

Source from the content-addressed store, hash-verified

336
337// logAsStrings transforms zap Fields to string
338func (pr *Processor) logAsString(msg string, err error, fields ...zapcore.Field) string {
339 for _, field := range fields {
340 msg += " - " + field.String
341 }
342 return msg
343}
344
345func (pr *Processor) dataForOperation(p merger.Patch, op merger.Operation) (cb ProcessFunc, progress string, complete string, error string, fields []zapcore.Field) {
346

Callers 1

applyProcessFuncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected