MCPcopy
hub / github.com/git-lfs/git-lfs / Logf

Method Logf

tasklog/simple_task.go:36–41  ·  view source on GitHub ↗

Logf logs some formatted string, which is interpreted according to the rules defined in package "fmt".

(str string, vals ...interface{})

Source from the content-addressed store, hash-verified

34// Logf logs some formatted string, which is interpreted according to the rules
35// defined in package "fmt".
36func (s *SimpleTask) Logf(str string, vals ...interface{}) {
37 s.ch <- &Update{
38 S: fmt.Sprintf(str, vals...),
39 At: time.Now(),
40 }
41}
42
43// Complete notes that the task is completed by closing the Updates channel and
44// yields the logger to the next Task. Complete blocks until the *tasklog.Logger

Callers 15

LogMethod · 0.95
TestCloneFileByPathFunction · 0.80
TestCloneFileFunction · 0.80
logVerboseOutputFunction · 0.80
TestLocalRefsFunction · 0.80
debugFunction · 0.80

Calls

no outgoing calls