about summary refs log tree commit diff
path: root/llog
diff options
context:
space:
mode:
authoremile <hanemile@protonmail.com>2018-10-15 16:12:02 +0200
committeremile <hanemile@protonmail.com>2018-10-15 16:12:02 +0200
commitfdbeedc7fad12f5bccd4b13b659adc02d0c3b4ef (patch)
tree91bcc6a59049f43b3a6e4019ed71a297cd5252e9 /llog
parent0525bc463f53487a7de8409697fabec28471a0bd (diff)
removed the old llog package that was replaced by logplus
Diffstat (limited to 'llog')
-rw-r--r--llog/llog.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/llog/llog.go b/llog/llog.go
deleted file mode 100644
index b470a1d..0000000
--- a/llog/llog.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package llog
-
-import (
-	"fmt"
-	"time"
-)
-
-// 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\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", currentTime(), text)
-}
-
-// current_time returns the current time as a string in the HH:MM:SS format
-func currentTime() string {
-	t := time.Now()
-	return fmt.Sprintf("%02d:%02d:%02d", t.Hour(), t.Minute(), t.Second())
-}