update import paths

update Readme with shields
This commit is contained in:
Jakob Schrettenbrunner
2017-06-26 20:44:37 +02:00
parent 271e4fb5ef
commit 7055f0c9b2
6 changed files with 20 additions and 14 deletions

View File

@@ -5,10 +5,11 @@ import (
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
"github.com/rifflock/lfshook"
log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)
func ConfigureLogging() {
// ConfigureLogging configures logrus to our needs
func ConfigureLogging() error {
log.SetFormatter(&log.TextFormatter{
DisableTimestamp: true,
@@ -28,4 +29,6 @@ func ConfigureLogging() {
log.FatalLevel: writer,
log.PanicLevel: writer,
}))
return nil
}