示例#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)
}
示例#2
0
文件: print.go 项目: ccll/looper
func PrintWatching(folder string) {
	ClearPrompt()
	fmt.Println(ansicolor.Yellow("Watching path"), ansicolor.Yellow(folder))
}
示例#3
0
文件: print.go 项目: jtacoma/gat
func PrintCommand(args []string) {
	ClearPrompt()
	fmt.Println(ansicolor.Yellow(strings.Join(args, " ")))
}