MCPcopy Create free account
hub / github.com/driangle/taskmd / debugLog

Function debugLog

apps/cli/internal/cli/debug.go:9–14  ·  view source on GitHub ↗

debugLog prints a debug message to stderr when debug mode is enabled.

(format string, args ...any)

Source from the content-addressed store, hash-verified

7
8// debugLog prints a debug message to stderr when debug mode is enabled.
9func debugLog(format string, args ...any) {
10 if !debug {
11 return
12 }
13 fmt.Fprintf(os.Stderr, "[debug] "+format+"\n", args...)
14}

Callers 2

runSetFunction · 0.85
runListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected