<commit_before>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}<commit_msg>Change dom/rpcd.Setup() to use log.Logger interface type.<commit_after>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}
{'fraction_non_alphanumeric': 0.1357142857142857, 'fraction_numerical': 0.0, 'mean_word_length': 4.154411764705882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2589388', 'n_tokens_mistral': 298, 'n_tokens_neox': 297, 'n_words': 53}