MCPcopy Index your code
hub / github.com/go-git/go-git / SetLogger

Function SetLogger

utils/trace/trace.go:39–41  ·  view source on GitHub ↗

SetLogger sets the logger to use for tracing.

(l *log.Logger)

Source from the content-addressed store, hash-verified

37
38// SetLogger sets the logger to use for tracing.
39func SetLogger(l *log.Logger) {
40 logger = l
41}
42
43// Print prints the given message only if the target is enabled.
44func (t Target) Print(args ...interface{}) {

Callers 2

TestMainFunction · 0.85
setUpTestFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestMainFunction · 0.68
setUpTestFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…