Verbose Output controlled by DDEV_VERBOSE environment variable
(format string, a ...any)
| 135 | |
| 136 | // Verbose Output controlled by DDEV_VERBOSE environment variable |
| 137 | func Verbose(format string, a ...any) { |
| 138 | if !globalconfig.DdevVerbose || output.JSONOutput { |
| 139 | return |
| 140 | } |
| 141 | n := time.Now() |
| 142 | s := fmt.Sprintf(format, a...) |
| 143 | output.UserOut.Debugf("%s %s", n.Format("2006-01-02T15:04:05.000"), s) |
| 144 | } |
| 145 | |
| 146 | // ShowDots displays dots one per second until done gets true |
| 147 | func ShowDots() chan bool { |
no test coverage detected