feat: use global logger

This commit is contained in:
Kevin Franklin Kim 2021-11-19 12:24:52 +01:00
parent dc40e57da3
commit 7d1504f126

View File

@ -7,7 +7,6 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"github.com/foomo/keel/config" "github.com/foomo/keel/config"
"github.com/foomo/keel/log"
) )
type Server struct { type Server struct {
@ -22,7 +21,7 @@ func NewServer(opts ...Option) *Server {
inst := &Server{ inst := &Server{
ctx: context.Background(), ctx: context.Background(),
c: config.Config(), c: config.Config(),
l: log.Logger(), l: zap.L(),
} }
for _, opt := range opts { for _, opt := range opts {