update micro plugins to use go-log

This commit is contained in:
Asim Aslam 2017-05-12 17:34:17 +01:00 committed by Vasiliy Tolstov
parent 9ef4dbc962
commit 5a88474e9a

View File

@ -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
}