mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
feat: use global logger
This commit is contained in:
parent
dc40e57da3
commit
7d1504f126
@ -7,7 +7,6 @@ import (
|
||||
"go.uber.org/zap"
|
||||
|
||||
"github.com/foomo/keel/config"
|
||||
"github.com/foomo/keel/log"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
@ -22,7 +21,7 @@ func NewServer(opts ...Option) *Server {
|
||||
inst := &Server{
|
||||
ctx: context.Background(),
|
||||
c: config.Config(),
|
||||
l: log.Logger(),
|
||||
l: zap.L(),
|
||||
}
|
||||
|
||||
for _, opt := range opts {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user