summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 21:41:06 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 21:41:06 +0200
commitf243f487a1d21eee482e4635d8ff719021b22349 (patch)
treea2363a612aaeea316f61c891c726df23aea53e0e /pkg
parent40f7f691d4143c7be4dc72babb2b5288cbfef45c (diff)
downloadfeed2imap-go-f243f487a1d21eee482e4635d8ff719021b22349.tar.gz
feed2imap-go-f243f487a1d21eee482e4635d8ff719021b22349.tar.bz2
feed2imap-go-f243f487a1d21eee482e4635d8ff719021b22349.zip
Slightly enhance logging
Diffstat (limited to '')
-rw-r--r--pkg/log/log.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/log/log.go b/pkg/log/log.go
index 1e419e3..b68d026 100644
--- a/pkg/log/log.go
+++ b/pkg/log/log.go
@@ -6,10 +6,10 @@ import (
"os"
)
-var debugLogger = log.New(os.Stdout, "", log.LstdFlags)
-var verboseLogger = log.New(os.Stdout, "", log.LstdFlags)
-var errorLogger = log.New(os.Stderr, "ERROR ", log.LstdFlags|log.Lmsgprefix)
-var warnLogger = log.New(os.Stdout, "WARN ", log.LstdFlags|log.Lmsgprefix)
+var debugLogger = log.New(os.Stdout, "DEBUG: ", log.LstdFlags|log.Lmsgprefix)
+var verboseLogger = log.New(os.Stdout, " INFO: ", log.LstdFlags|log.Lmsgprefix)
+var errorLogger = log.New(os.Stderr, "ERROR: ", log.LstdFlags|log.Lmsgprefix)
+var warnLogger = log.New(os.Stdout, " WARN: ", log.LstdFlags|log.Lmsgprefix)
type logLevel byte