MCPcopy
hub / github.com/puma/puma-dev / LogDebugf

Function LogDebugf

dev/devtest/testutils.go:36–40  ·  view source on GitHub ↗

LogDebugf prints a formatted log message if DEBUG_LOG=1

(msg string, vars ...interface{})

Source from the content-addressed store, hash-verified

34
35// LogDebugf prints a formatted log message if DEBUG_LOG=1
36func LogDebugf(msg string, vars ...interface{}) {
37 if DebugLoggingEnabled {
38 log.Printf(strings.Join([]string{"[DEBUG]", msg}, " "), vars...)
39 }
40}
41
42/*
43 StubCommandLineArgs overrides command arguments to allow flag-based branches

Callers 3

StubCommandLineArgsFunction · 0.85
RemoveDirectoryOrFailFunction · 0.85
pollForEventFunction · 0.85

Calls

no outgoing calls

Tested by 1

pollForEventFunction · 0.68