Example #1
0
func PrintTrace2(format string, a ...interface{}) {
	if DebugLevel < 3 {
		return
	}
	var msg = fmt.Sprintf(format, a...)
	if AnsiOutput {
		msg = ansicolor.Yellow(msg)
	}
	log.Println(msg)
}
Example #2
0
File: print.go Project: ccll/looper
func PrintWatching(folder string) {
	ClearPrompt()
	fmt.Println(ansicolor.Yellow("Watching path"), ansicolor.Yellow(folder))
}
Example #3
0
File: print.go Project: jtacoma/gat
func PrintCommand(args []string) {
	ClearPrompt()
	fmt.Println(ansicolor.Yellow(strings.Join(args, " ")))
}