MCPcopy
hub / github.com/perkeep/perkeep / Logf

Function Logf

pkg/cmdmain/cmdmain.go:381–386  ·  view source on GitHub ↗

Logf logs to Stderr if FlagVerbose, and is silent otherwise.

(format string, v ...interface{})

Source from the content-addressed store, hash-verified

379
380// Logf logs to Stderr if FlagVerbose, and is silent otherwise.
381func Logf(format string, v ...interface{}) {
382 if !*FlagVerbose {
383 return
384 }
385 logger.Printf(format, v...)
386}
387
388// sysExec is set to syscall.Exec on platforms that support it.
389var sysExec func(argv0 string, argv []string, envv []string) (err error)

Callers 8

RunCommandMethod · 0.92
syncAllMethod · 0.92
initFunction · 0.92
RunCommandMethod · 0.92
uploadNodeMethod · 0.92
fileMapFromDuplicateMethod · 0.92
uploadNodeRegularFileMethod · 0.92
runMethod · 0.92

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected