about summary refs log tree commit diff
path: root/llog
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-11 18:44:55 +0200
committeremile <hanemile@protonmail.com>2018-10-11 18:44:55 +0200
commitb15cce5e209012a817dc60055920e958d0d3adc0 (patch)
tree55b9e583892c4038df5fb8a0f6eca9c7969ae630 /llog
parentf4940fc191b77c8d68b58a9b1cd3be7698e55c23 (diff)
Great function for stuff that is working great
Diffstat (limited to 'llog')
-rw-r--r--llog/llog.go8
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