web: use default logger (#1577)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-04-27 00:03:05 +03:00
committed by GitHub
parent 980b772801
commit e0c9234c0e
2 changed files with 15 additions and 18 deletions

View File

@@ -7,7 +7,6 @@ import (
"time"
"github.com/google/uuid"
"github.com/micro/go-micro/v2/logger"
)
// Service is a web service with service discovery built in
@@ -38,8 +37,6 @@ var (
// static directory
DefaultStaticDir = "html"
DefaultRegisterCheck = func(context.Context) error { return nil }
log = logger.NewHelper(logger.DefaultLogger).WithFields(map[string]interface{}{"service": "web"})
)
// NewService returns a new web.Service