about summary refs log tree commit diff
path: root/llog/llog.go
blob: e02af747ddc9d8bf525065c32ab40f6bf3e932fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package llog

import (
	"fmt"
)

// Good prints a "good" (green) message with a timestamp and the given message
func Good(text string) {
	fmt.Printf("\033[36m [+] \033[0m%-60s\t", text)
}

// Bad prints a "good" (green) message with a timestamp and the given message
func Bad(text string) {
	fmt.Printf("\033[31m [+] \033[0m%-60s\t", text)
}