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

Method Verbosef

cli/root.go:1174–1178  ·  view source on GitHub ↗

Verbosef logs a message if verbose mode is enabled.

(inv *serpent.Invocation, fmtStr string, args ...interface{})

Source from the content-addressed store, hash-verified

1172
1173// Verbosef logs a message if verbose mode is enabled.
1174func (r *RootCmd) Verbosef(inv *serpent.Invocation, fmtStr string, args ...interface{}) {
1175 if r.verbose {
1176 cliui.Infof(inv.Stdout, fmtStr, args...)
1177 }
1178}
1179
1180// DumpHandler provides a custom SIGQUIT and SIGTRAP handler that dumps the
1181// stacktrace of all goroutines to stderr and a well-known file in the home

Callers 1

ServerMethod · 0.95

Calls 1

InfofFunction · 0.92

Tested by

no test coverage detected