From 5a88474e9a3576ba2902a5023ed708fdd4852b06 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 12 May 2017 17:34:17 +0100 Subject: [PATCH] update micro plugins to use go-log --- gossip.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gossip.go b/gossip.go index 6bf236c..b67ac35 100644 --- a/gossip.go +++ b/gossip.go @@ -4,12 +4,12 @@ package gossip import ( "encoding/json" "fmt" - "log" "os" "sync" "time" "github.com/hashicorp/memberlist" + "github.com/micro/go-log" "github.com/micro/go-micro/cmd" "github.com/micro/go-micro/registry" "github.com/mitchellh/hashstructure" @@ -487,6 +487,6 @@ func NewRegistry(opts ...registry.Option) registry.Registry { } } - log.Printf("Local memberlist node %s:%d\n", m.LocalNode().Addr, m.LocalNode().Port) + log.Logf("Local memberlist node %s:%d\n", m.LocalNode().Addr, m.LocalNode().Port) return mr }