From b15cce5e209012a817dc60055920e958d0d3adc0 Mon Sep 17 00:00:00 2001 From: emile Date: Thu, 11 Oct 2018 18:44:55 +0200 Subject: Great function for stuff that is working great --- llog/llog.go | 8 ++++++-- 1 file 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 -- cgit 1.4.1