package rpcd

import (
	"github.com/Symantec/Dominator/dom/herd"
	"github.com/Symantec/Dominator/lib/log"
	"github.com/Symantec/Dominator/lib/srpc"
)

type rpcType struct {
	herd   *herd.Herd
	logger log.Logger
}

func Setup(herd *herd.Herd, logger log.Logger) {
	rpcObj := &rpcType{
		herd:   herd,
		logger: logger}
	srpc.RegisterName("Dominator", rpcObj)
}

package rpcd

import (
	"github.com/Symantec/Dominator/dom/herd"
	"github.com/Symantec/Dominator/lib/srpc"
	"log"
)

type rpcType struct {
	herd   *herd.Herd
	logger *log.Logger
}

func Setup(herd *herd.Herd, logger *log.Logger) {
	rpcObj := &rpcType{
		herd:   herd,
		logger: logger}
	srpc.RegisterName("Dominator", rpcObj)
}

--- 
+++ 
@@ -2,16 +2,16 @@
 
 import (
 	"github.com/Symantec/Dominator/dom/herd"
+	"github.com/Symantec/Dominator/lib/log"
 	"github.com/Symantec/Dominator/lib/srpc"
-	"log"
 )
 
 type rpcType struct {
 	herd   *herd.Herd
-	logger *log.Logger
+	logger log.Logger
 }
 
-func Setup(herd *herd.Herd, logger *log.Logger) {
+func Setup(herd *herd.Herd, logger log.Logger) {
 	rpcObj := &rpcType{
 		herd:   herd,
 		logger: logger}
Change dom/rpcd.Setup() to use log.Logger interface type.
