MCPcopy Create free account
hub / github.com/Deleplace/programming-idioms / logIf

Function logIf

web/appengine/index.go:370–374  ·  view source on GitHub ↗

* func logIf(err error, logfunc func(format string, args ...interface{}), when string) { if err != nil { logfunc("Problem on %v: %v", when, err.Error()) } } */

(err error, logfunc func(ctx context.Context, format string, args ...interface{}), ctx context.Context, when string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getIdiomMethod · 0.85
getIdiomByImplIDMethod · 0.85
saveNewIdiomMethod · 0.85
saveExistingIdiomMethod · 0.85
getAllIdiomsMethod · 0.85
deleteIdiomMethod · 0.85
deleteImplMethod · 0.85
searchIdiomsByLangsMethod · 0.85
recentIdiomsMethod · 0.85
popularIdiomsMethod · 0.85

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected