1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

Embed logger into debug.Handler

This commit is contained in:
Milos Gajdos
2019-11-27 16:12:39 +00:00
parent ee9776e7b2
commit 9e177be560
2 changed files with 9 additions and 1 deletions

View File

@ -5,6 +5,8 @@ import (
"runtime"
"time"
"github.com/micro/go-micro/debug/log"
proto "github.com/micro/go-micro/debug/proto"
)
@ -15,6 +17,7 @@ var (
type Debug struct {
started int64
log.Logger
}
func newDebug() *Debug {