aboutsummaryrefslogtreecommitdiff
path: root/internal/util/util.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-19 15:05:08 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-04-19 15:05:08 +0200
commit0b09b3a77b4784e63419114e4c43baf1f3ae2562 (patch)
treec9c0e12b33cc51833b65bd39566223394d29dc90 /internal/util/util.go
parente8c715f6b267d65cb0694704b395bcc236f74195 (diff)
downloadfeed2imap-go-0b09b3a77b4784e63419114e4c43baf1f3ae2562.tar.gz
feed2imap-go-0b09b3a77b4784e63419114e4c43baf1f3ae2562.tar.bz2
feed2imap-go-0b09b3a77b4784e63419114e4c43baf1f3ae2562.zip
Rename util.go to log.go. Add verbose mode
Diffstat (limited to 'internal/util/util.go')
-rw-r--r--internal/util/util.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/internal/util/util.go b/internal/util/util.go
deleted file mode 100644
index 54a0805..0000000
--- a/internal/util/util.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package util
-
-import (
- "log"
- "os"
-)
-
-var errorLogger = log.New(os.Stderr, "ERROR ", log.LstdFlags|log.Lmsgprefix)
-
-func Error(v ...interface{}) {
- errorLogger.Print(v...)
-}
-
-//noinspection GoUnusedExportedFunction
-func Errorf(format string, a ...interface{}) {
- errorLogger.Printf(format, a...)
-}