From cb3d9f033ad1e1529d242537800bb7ff0b5ad719 Mon Sep 17 00:00:00 2001 From: gondor Date: Fri, 16 Jun 2017 16:57:20 -0700 Subject: [PATCH] fix logger with logrus change --- logger/logger.go | 5 +++-- logger/logger_test.go | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/logger/logger.go b/logger/logger.go index 459d60d..5d60677 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -4,12 +4,13 @@ package logger import ( - "github.com/Sirupsen/logrus" "os" + + "github.com/sirupsen/logrus" ) const ( - DefaultCategory = "_" + DefaultCategory = "_" DefaultTimeFormat = "2006-01-02T15:04:05.000" ) diff --git a/logger/logger_test.go b/logger/logger_test.go index ab388b5..0186330 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -2,7 +2,8 @@ package logger import ( "testing" - "github.com/Sirupsen/logrus" + + "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" )