diff options
-rw-r--r-- | llog/llog.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llog/llog.go b/llog/llog.go index b063610..b470a1d 100644 --- a/llog/llog.go +++ b/llog/llog.go @@ -7,12 +7,16 @@ import ( // Good prints a "good" (green) message with a timestamp and the given message func Good(before string) { - fmt.Printf("%s\033[36m [+] \033[0m%-60s\t", currentTime(), before) + fmt.Printf("%s\033[36m [+] \033[0m%-60s\n", currentTime(), before) +} + +func Great(before string) { + fmt.Printf("%s\033[34m [+] \033[0m%-60s\n", currentTime(), before) } // Bad prints a "good" (green) message with a timestamp and the given message func Bad(text string) { - fmt.Printf("%s\033[31m [+] \033[0m%-60s\t", currentTime(), text) + fmt.Printf("%s\033[31m [+] \033[0m%-60s", currentTime(), text) } // current_time returns the current time as a string in the HH:MM:SS format |