MCPcopy Index your code
hub / github.com/coder/coder / logf

Function logf

scripts/metricsdocgen/scanner/scanner.go:93–97  ·  view source on GitHub ↗

logf prints an informational message to stderr only when running interactively. Use this for progress and debug output that is not actionable.

(format string, args ...any)

Source from the content-addressed store, hash-verified

91// interactively. Use this for progress and debug output that is
92// not actionable.
93func logf(format string, args ...any) {
94 if verbose {
95 log.Printf(format, args...)
96 }
97}
98
99// warnf prints a warning to stderr unconditionally. Use this for
100// messages about real problems that a developer should investigate.

Callers 4

uninstallWinTunFunction · 0.85
mainFunction · 0.85
scanAllDirsFunction · 0.85
scanDirectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected