diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-19 15:05:08 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-19 15:05:08 +0200 |
commit | 0b09b3a77b4784e63419114e4c43baf1f3ae2562 (patch) | |
tree | c9c0e12b33cc51833b65bd39566223394d29dc90 /internal/util/util.go | |
parent | e8c715f6b267d65cb0694704b395bcc236f74195 (diff) | |
download | feed2imap-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 '')
-rw-r--r-- | internal/util/util.go | 17 |
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...) -} |